How to register for and manage an API key