> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate API Key

> Learn how to generate API keys for your Data App so you can authenticate API requests securely.

<Note>
  You need at least one existing Data App before you can generate an API key.
</Note>

<Steps>
  <Step title="Open the Data App in Data Studio">
    Navigate to **Data Studio → Data Apps** and select the Data App for which you want to create an API key.

    <Frame>
      <img src="https://mintcdn.com/databrainlabs-bef6850a/rlDvHssb2JDhddTt/images/guides/access-data-app.png?fit=max&auto=format&n=rlDvHssb2JDhddTt&q=85&s=2482976f9a4543d040a5207c69e133ca" alt="Data Studio view showing the Data Apps list with a specific Data App selected" width="2940" height="1658" data-path="images/guides/access-data-app.png" />
    </Frame>
  </Step>

  <Step title="Go to the API Token section">
    In the left sidebar, select **API Token**, then click **Generate Token** in the top-right corner of the API Tokens table.

    <Frame>
      <img src="https://mintcdn.com/databrainlabs-bef6850a/Y_Qmu5yObO4cFtUL/images/guides/generate-token.png?fit=max&auto=format&n=Y_Qmu5yObO4cFtUL&q=85&s=4be2b4df37c85878c4a28367b8e90735" alt="API Token section in Data Studio with the Generate Token button highlighted" width="2940" height="1660" data-path="images/guides/generate-token.png" />
    </Frame>
  </Step>

  <Step title="Configure and generate the API key">
    In the **API Token Settings** panel:

    * Enter your **Token name** (for example, your company or integration name).
    * Optionally add a **description** to clarify how this key will be used.
    * Click **Generate API Key** to create the key for this Data App.

    After the key is created, it appears in the API Tokens table. Use the **Copy** action to copy the API key and store it securely.

    <Frame>
      <img src="https://mintcdn.com/databrainlabs-bef6850a/GSaCipVqq_Yhm919/images/guides/api-key.gif?s=ff1fc836dfeee7c3c0169154c895f2a5" alt="API Tokens table showing a newly created API key with copy action" width="1630" height="919" data-path="images/guides/api-key.gif" />
    </Frame>
  </Step>
</Steps>

<Check>
  Your API key is now active for this Data App. Use it in your backend services to authenticate API requests on behalf of this Data App.
</Check>
