To generate API keys for searchcode server you will need to login to the admin screens. From there you can click API Keys and then "Generate Key". To delete a key click "delete" next to the key you want to delete. All delete actions take place instantly.