# AI Settings

## How to Enable AI at SCND

To enable or disable all the AI features (AI search Assistant and AI Patterns Features) the operator needs to switch on the toggle (Figure 1).

<figure><img src="/files/qgVNqrHZsHBGDtuVPfFt" alt=""><figcaption><p>Figure 1</p></figcaption></figure>

The next step is requested to provide the OpenAI API Key. To get your OpenAI API key, follow these steps:

1. **Sign in to OpenAI**: Go to the [OpenAI website](https://platform.openai.com/) and log in with your account. If you don’t have an account, you’ll need to create one.
2. **Go to API Keys Page**: Once logged in, click on your profile in the top-right corner and select **API Keys** from the dropdown menu.
3. **Create a New API Key**: On the API Keys page, you can see existing keys (if any). Click the **Create new secret key** button to generate a new key.
4. **Copy the API Key**: Once the key is generated, copy it immediately as you will not be able to view it again. Store it securely in a password manager or environment variables file.
5. **Use Your API Key**: Use this key in your by placing it in the configuration (Figure 2).

<figure><img src="/files/dbX6XVrrZYWArA7D3HZ8" alt=""><figcaption><p>Figure 2</p></figcaption></figure>

When the AI is enabled by the administrator, it also activates the AI search assistant simultaneously.&#x20;


---

# 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://features.scnd.com/v2.0/superadmin/configurations/features/artificial-intelligence-features/ai-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.
