# Profiles

## Introduction

### What are profiles?

Profiles let you save and switch between multiple Stakpak configurations. Each profile has its own provider, API keys, and model settings, so you can easily move between work, personal, and testing environments without changing your global setup.

## How to create a new profile?

1. Open your terminal&#x20;
2. Write `stakpak config`&#x20;

Here you will be able to see all your profiles

<figure><img src="/files/5sk5ER9Zpu8mYjYGDR58" alt=""><figcaption></figcaption></figure>

3. Press "Create a new profile."
4. Choose a name for your profile
5. Then [Configure Stakpak](/docs/get-started/configure-stakpak.md)
6. Press "Y" to continue to stakpak

### How to switch profiles?

1. Open Stakpak
2. Press control + k

<figure><img src="/files/SjdlCf4szCmYOu2jkhKI" alt=""><figcaption></figcaption></figure>

### How to edit profiles?

1. Edit your `~/.stakpak/config.toml` file

{% hint style="info" %}
You can view the config sample by opening your terminal and typing `stakpak config sample`
{% 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://stakpak.gitbook.io/docs/how-it-works/profiles.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.
