> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Activating Agents

> Enable AI agents on your Codenull application

Before using agents in your application, you need to activate the feature and configure which users have access to it.

<Frame>
  <iframe src="https://www.loom.com/embed/cdf65efcf7584c98ab1b126cea9eefe9" frameBorder="0" allowFullScreen style={{ width: '100%', height: '400px' }} />
</Frame>

## How to activate agents

1. Open the **Application Settings** in the Codenull designer.
2. Navigate to the **AI / Agents** section.
3. Toggle the **Enable Agents** option.
4. Configure which roles have access to the agent interface.
5. Save your changes.

Once activated, users with the appropriate role will see the agent panel in the application.

<Info>
  If the user does not have any agent permission, the agent button will not be available in the UI, and the `/ai/agents` route will not be accessible.
</Info>
