> For the complete documentation index, see [llms.txt](https://docs.portainer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.ai/portainer-run/user/admin/settings.md).

# Settings

This section contains the Portainer-Run configuration settings, and is only available to administrators.

The following options are available:

| Field/Option      | Overview                                                                                                                                                                                |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Encryption key    | The encryption key that was added during initial setup of Portainer-Run, used to encrypt credentials used by Portainer-Run. This cannot be changed.                                     |
| Anthropic API key | An Anthropic API key for use with the [Assistant](/portainer-run/user/assistant.md) functionality. Either this or the OpenAI API key option must be set to enable the Assistant.        |
| OpenAI API key    | An OpenAI API key for use with the [Assistant](/portainer-run/user/assistant.md) functionality. Either this or the Anthropic API key option must be set to enable the Assistant.        |
| Base domain       | The base domain to apply to applications deployed in Portainer-Run.                                                                                                                     |
| Gateway URL       | The URL to the Portainer-Run gateway. This gateway lets AI coding tools send application files directly to Portainer-Run, avoiding file size limitations that may otherwise be applied. |
| OpenAI model      | Specifies the OpenAI model to use when using OpenAI for the [Assistant](/portainer-run/user/assistant.md). This field is ignored when using Anthropic as the AI provider.               |

<figure><img src="https://content.gitbook.com/content/GwxJJZcdHkdw08WBsjrl/blobs/vaSgj4cykbWyFMav74sx/portainer-run-admin-settings.png" alt=""><figcaption></figcaption></figure>
