> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/daytona.md).

# Daytona credentials

Documentation for the Daytona credentials. Use these credentials to authenticate Daytona in n8n, a workflow automation platform.

## Prerequisites

Create a [Daytona](https://app.daytona.io/) account.

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## Supported authentication methods

* API key

## Related resources

Refer to [Daytona's API documentation](https://www.daytona.io/docs/en/tools/api/) for more information about the service.

## Using API key

To configure this credential, you'll need:

* An **API URL**: The URL of your Daytona API endpoint.
* An **API Key**: Your Daytona API key.

To get your API key:

1. Log in to the [Daytona Dashboard](https://app.daytona.io/dashboard/keys).
2. Select **Create Key**.
3. Enter a name for the key, such as `n8n integration`.
4. Set an expiration date and select the permissions your key needs.
5. Select **Create** to generate the key.
6. Copy the API key and enter it as the **API Key** in your n8n credential.

For the **API URL**, use `https://app.daytona.io/api` for Daytona's hosted service or the URL of your self-hosted Daytona instance.

Refer to [Daytona's API Keys documentation](https://www.daytona.io/docs/en/api-keys/) for more information.
