You need to generate an API key to access NVIDIA NIM Microservices from the NVIDIA RAG Blueprint. You need an API key to access models hosted in the NVIDIA API Catalog, and to download models on-premises. For more information, refer to NGC API Keys.
To generate an API key, use the following procedure.
-
Click Generate Personal Key.
-
Enter a Key Name.
-
For Expiration, choose Never Expire.
-
For Services Included, select NGC Catalog and Public API Endpoints.
-
Click Generate Personal Key.
-
Copy your key and save it somewhere safe and private.
-
(Important) Export your key as an environment variable by using the following code.
export NGC_API_KEY="<your-ngc-api-key>"
You need to generate an API key to authenticate requests and determine your service capabilities with CyborgDB. For more information, refer to CyborgDB API Keys
To generate an API key, use the following procedure.
- Log in or sign up for CyborgDB at the official CyborgDB site
- In your dashboard, click the Add button next to "API Keys"
After you generate your key, export your key as an environment variable by using the following code.
export CYBORGDB_API_KEY="<your-cyborgdb-api-key>"If your API key expires, do one of the following:
- Create a new key by using the previous procedure, and then delete the expired key.
- Use the Action menu to Rotate your key. (NGC API Key only)
You must update the new key information in your environment variables and code.