# Authentication

Each Studio account can generate a single API Key in the following way:

1. [<mark style="color:purple;">Create an account</mark>](https://identity.nexmo.com/login) in the Studio application.
2. Generate an API Key in the Studio application as seen below.
3. Save the API Key in a secured place, don't lose it!
4. Every HTTP request goes through our API Gateway, which validates the API Key attached as a header named `X-Vgai-Key.`

![](https://3877181490-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_81A0PNZfdawu_TPAO%2Fuploads%2FLY6lzGsCXoJVU0eMpsyP%2FVGAI%20Key.gif?alt=media\&token=6b5fef87-fa85-41cb-91f4-574bacec1626)

{% hint style="danger" %}
*An API Key is similar to a password that allows access to some of your account resources. Please keep it secured and private!*

*The API Key is unique and impossible to recover in the case of a loss. Only a new API Key can be generated if lost.*
{% 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://studio.docs.ai.vonage.com/api-integration/authentication.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.
