# Create an intent

## Manually

To create an intention, follow these steps:

1. In the left sidebar menu, go to Chatbot > Knowledge Base > Intents.
2. Click the 'Add' button.
3. Enter the name of the intent, remember to enter a title that allows you to easily identify its objective.
4. Click 'Save'.

## Automatically with Gen AI

You can use AI to populate quickly an intent, follow this steps:

1. In the left sidebar menu, go to Chatbot > Knowledge Base > Intents.
2. Click on 'Add'
3. Click on 'Descriptive content generationAI'.
4. Describe the intention in as much detail as possible.
5. Click on 'Generate content'

The system will populate automatically the title, training phrases and responses.

### Variations

Thanks to artificial intelligence we can generate variations of the sentences:

* If we want variations of a specific phrase, we place the mouse over it and click on the circular arrow icon.
* To generate variations of all the elements, click on the icon with the three dots at the top right of the section and click on 'Generate variations AI'

We can also generate variations of the phrases by following the same steps.

In this interface, much more information is requested for the correct functioning of the intention and that we will explain in detail in the following sections.


---

# 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.1millionbot.com/chatbot/knowledge-base/intents/create-an-intent.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.
