# Get an API Key

If you're planning to integrate with Datagram’s SDK or connect its substrate (DCS) to an existing network or product, you’ll need an API key. An API key is a unique code that allows your application to securely communicate with Datagram’s platform. It acts like a password, identifying your app and permitting it to access specific features

In this guide, we’ll walk you through the step-by-step process to create and access your API key using the Datagram Dashboard.

Let’s get started. 🚀

**Step 1:** Log in to your [Datagram account](https://demo.datagram.network/). Once you're logged in, click on your profile icon (top right corner), and a dropdown menu will appear.

<figure><img src="/files/bwVsj7pnFqacLIkeGZpO" alt=""><figcaption></figcaption></figure>

**Step 2:** From the dropdown, select the option labeled "**Account**". This will take you to the section where you can create an API key (for all services, SDK, APIs to identify unique users).

<figure><img src="/files/cC73qsFVlISmVhCNnk1S" alt=""><figcaption></figcaption></figure>

**Step 3:** In the “**Account**” section, click on the “**APIs**” tab at the top to manage or generate your API keys.

<figure><img src="/files/QjRZvNw9i2107Sm4z6b7" alt=""><figcaption></figcaption></figure>

**Step 4:** Click on the “**Create**” button, enter a name for your **API** key, and click “**Create**” again. Your new API key will be generated and shown on the screen right away.

<figure><img src="/files/mSccTtAPMfhL8pcgRSqK" alt=""><figcaption></figcaption></figure>

**Step 5:** Your API key has been successfully created. Make sure to **copy and save it securely**, as it may not be shown again. Once done, click the "**Finish**" button to complete the process.

<figure><img src="/files/wkPFg3Y9WCtkVIvAdkxa" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Join Datagram**<br>

If you’re not already using Datagram, download the desktop app for rewards and [start earning today.](https://demo.datagram.network/)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.datagram.network/apis/get-an-api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
