Set the API key.