# Setting up the Settings

Before you go about setting up your AI, it's important to fill out all the settings in the Capri portal so that it functions properly!

## AI Settings

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

In the AI settings tab, you can add the secret key for whichever AI providers that you use. All you need to do is click "configure" and then "add" in the top right, and you can paste your secret key in and name it whatever you'd like!

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

## Channels

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

In the channels tab, you can connect any of the subaccounts you'd like the AI to be able to respond in. If a subaccount isn't linked here, no AI will be able to respond in it, even if you have everything else set up right!

In the example above, you can see that some of the subaccounts have an agent linked, while some say "No agent linked." This does not determine what agent will be able to respond in that account, instead, it's just setting what agent would be displayed in the white label emulator if you have access to it!

## Integrations

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

For the Integrations page, you'll be able to link and calendars or spreadsheets that you'd like your AI's to potentially have access to! For calendars, you'll be prompted to choose the subaccount that the calendar is in, and then the calendar itself and the timezone. For spreadsheets, you'll be prompted to enter in the URL of the spreadsheet, and then set the headers of the spreadsheet for the AI to read!

## Data

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

For the final page, Data, you'll be able to scrape websites and Google docs to use for information sources! When you scrape a website or Google doc, you'll be prompted to choose which subpages you'd like to scrape. After the scrape is done, you'll be able to view what information the system scraped from what you selected!


---

# 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://help.capriai.us/capri-portal/setting-up-the-settings.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.
