# AI Profile

## Overview

AI Profile allows you to configure the AI model used by AI Agent.

## How to Configure

Go to **Workspace Settings > Options > AI Profile**.

Click **Create AI Profile**, select the type of profile you want to create, and save.

## Types

### Managed AI Profile

Uses AI models managed by Codatum. No API key setup is required.

Only model and context notebook settings linked to the profile are configurable.

Provider and model details cannot be specified. If you have endpoint requirements due to security policies, please use a Custom AI Profile.

### Custom AI Profile

Uses a BYOAI (Bring Your Own AI) approach, allowing you to configure your own API key. You can select in detail which AI model to use.

When using Google Vertex AI, the `Vertex AI User` role must be granted to the service account.

{% hint style="info" %}
Custom AI Profile is a paid option. For more details, please contact us via chat or `support@codatum.com`.
{% endhint %}

## Context Notebook

You can link a notebook to an AI Profile to be referenced as context.


---

# 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.codatum.com/ai-assist/ai-profile.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.
