# Groq setup

To get an Groq API key, first register an account in [their platform](https://console.groq.com/login).

After signing up go to <https://console.groq.com/>, and click on *API Keys* in the left panel.

![Go to API Keys view](/files/6J9RjdjvT22Uy0Vxg3c9)

Open the create dialog by clicking *Create API Key*. Give the key a name (the name can be whatever you want) and click *Submit*.

![Create API Key](/files/mdgjeNSB7S3a188eF8qr)

**Make sure you copy the generated key, and store it somewhere safe.** You won't be able to get the key after you've clicked done.


---

# 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://docs.midio.com/midio-docs/tutorial/openai-setup/groq-setup.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.
