Skip to main content

Saving an API Key

To begin utilizing Covalent Cloud's features, you must first ensure that your API key is securely stored and easily accessible for your applications. Here's a step-by-step guide to save your API key using Covalent Cloud:

1. Access and Authentication:

  • Navigate to the Covalent Cloud application portal at
  • Enter your credentials to log in to your account.

2. Retrieval of API Key:

  • Once logged in, proceed to your account dashboard.
  • Locate and select your user token; this is your unique API key.
  • Use the copy function to securely store this token for the next steps.

3. Installation of Covalent Cloud Library:

  • Open your terminal or command prompt on your local machine.
  • Run the command pip install covalent-cloud to install the Covalent Cloud library.

4. Storing the API Key:

  • In your preferred Python environment or script, import the Covalent Cloud module using
    import covalent_cloud as cc.
  • Execute the function cc.save_api_key("YOUR_API_KEY") replacing "YOUR_API_KEY" with the token you copied from the dashboard.
  • This function securely saves your API key for future use.
import covalent_cloud as cc

5. Verification:

  • To confirm that your API key has been stored correctly, you can call cc.get_api_key().
  • This will display the currently stored API key, allowing you to verify its accuracy.

By following these steps, you'll have your API key set up and ready to authenticate your requests to Covalent Cloud services.