> For the complete documentation index, see [llms.txt](https://docs.macrocosmos.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.macrocosmos.ai/subnets/subnet-13-data-universe/readme/api-keys.md).

# API Keys

To interact with Macrocosmos subnets programmatically, you'll need a personal API key.

### Step 1: Organise your credits

1. Head to [app.macrocosmos.ai](https://app.macrocosmos.ai) and login.
2. Click to Macrocosmos logo icon at the top left corner of the screen\
   ![](/files/saNmKah1qCCkWdzNDKU5)
3. In the dropdown menu, select **`Payments and credit`.**
4. Provide your credit card details in order to access the account management and **Constellation API Key Dashboard.**

### Step 2: Generate Your Personal API Key

1. From the home menu and select **`Account Settings`.**

<figure><img src="/files/6j8LCMC3mZUeoaePZeVW" alt=""><figcaption></figcaption></figure>

2. Click to the API Keys tab and create a new key.
3. Copy the generated API key immediately and save it in a secure location , you **won’t be able to view it again**.

You can now use this key to interact with **all Macrocosmos services** from your preferred coding environment.

### You’re Ready!

With your API key and credits in place, you’re ready to build with Macrocosmos!
