For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
See how MongoDB 9.0 delivers up to 2x higher throughput.
MongoDB Branding Shape
Register now >
Docs Menu

Voyage AI Quick Start

In this guide, you learn how to generate your first vector embeddings with Voyage AI and build a basic application.

To access Voyage AI models, create a model API key in the MongoDB Atlas UI.

1

If you're new to Atlas, it creates an organization and project for you.

To learn more, see Create an Atlas Account.

2
  1. In your Atlas project, select AI Model APIs from the navigation bar.

  2. Click Create model API key.

  3. Give the API key a name and then click Create.

To learn more, see Manage Voyage AI Model API Keys.

3

Copy the API key and store it in a safe location. Then, export the API key as an environment variable in your terminal so the Voyage client can access it.

export VOYAGE_API_KEY="<your-model-api-key>"
set VOYAGE_API_KEY=<your-model-api-key>

In this section, you generate vector embeddings using a Voyage AI embedding model and the Python client.

Voyage AI embedding diagram
click to enlarge
<