# How can a virtual AI agent be connected?
# Question

How can this virtual agent be connected to a ticket? Where are its settings?

# Answer

:::caution
The AI agent uses Public articles in the Swarmica Knowledge Base. For its correct and efficient operation, a sufficient number of public articles are required, answering the most common questions of your users.
:::

1. Connect the AI in **Settings > AI Provider > YAndexGPT - Neurosearch section - enabled for clients.**

![](https://support.swarmica.com/attachments/G/5/G5Kx36Gb07LBPOdB_a/image.png)

*If you enable it for the first time, then for some time you may see the status 'Training', which depends on the number of articles in the knowledge base.*

1. The AI agent is enabled for a specific channel. First, you need to connect at least one channel in **Settings > Channels.** The most common (default) option is the Email channel.

Next, go to the settings of this channel and enable the checkbox **AI agent**

![](https://support.swarmica.com/attachments/Y/L/YL_tf7wLqGZcZBrW_a/image.png)

After enabling, all incoming requests on this channel will be processed by the AI agent.

In each ticket created from this channel, a checkbox **AI agent** will also appear, which employees can disable if they need to take the ticket over and continue communication.

![](https://support.swarmica.com/attachments/N/w/NwJOOOB9S2p9Tvdv_a/image.png)




::video{src="https://support.swarmica.com/attachments/N/d/NdaBCMu2nlmaDPr9_a/Виртуальный_агент.mp4" muted="1" controls="1"}