# How to Enable the AI Assist Feature

AI Assist is a powerful tool integrated directly into your Webmail. It allows you to compose emails from short descriptions, generate replies, translate text, and summarize long threads instantly.

This feature operates on a "bring-your-own-key" basis, giving you full control over which AI provider and model you use. You can currently connect with providers such as Gemini, Anthropic, or OpenAI.

### Step 1: Enable AI at the Domain Level

Before individual users can access AI tools, you must configure the AI provider for the entire domain.

1. Log in to your [**Admin Panel**](https://admin.emailarray.com).
2. Navigate to the **Domains** section.
3. Locate the domain you wish to manage and click the **AI Settings** icon (represented by a sparkle symbol) in the actions list.  
      
    [![Admin Panel - Domain list - AI Settings for each domain.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/admin-panel-domain-list-ai-settings-for-each-domain.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/admin-panel-domain-list-ai-settings-for-each-domain.PNG)  
      
    [![Admin Panel - Domain list - AI Settings.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/admin-panel-domain-list-ai-settings.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/admin-panel-domain-list-ai-settings.PNG)
4. Click the **Add AI Provider** button.
5. Select your preferred **AI Provider** and enter your **API key** to verify the connection.  
      
    [![Admin Panel - Domain list - AI Settings - Add key and choose model.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/admin-panel-domain-list-ai-settings-add-key-and-choose-model.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/admin-panel-domain-list-ai-settings-add-key-and-choose-model.PNG)
6. **Select a Model**: You can choose between high-performance complex models or faster, more cost-effective ones.
    
    > **Tip**: For standard email composition and summarizing, a "fast" model (such as a Flash-tier model) typically provides the best balance of speed and cost-efficiency.
7. Click **Save**.

### Step 2: Grant User Permissions

Once the domain is configured, you must specify which users have permission to use the AI tools.

1. In the Admin Panel, go to the **Users** section.
2. Select the relevant domain from the list.
3. Locate the specific user and click the **Permissions** icon (represented by a person with a checkmark).  
      
    [![Admin Panel - User list - access user permissions.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/admin-panel-user-list-access-user-permissions.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/admin-panel-user-list-access-user-permissions.PNG)
4. Scroll down to the **AI** section of the permissions window.
5. Check the boxes for the tools you want to enable:
    
    
    - **Webmail Enabled**: Allows the user to use AI for composing, replying, and summarizing within their email interface.
    - **OfficeDocs Enabled**: Enhances productivity by enabling AI assistance within the office document editor.  
          
        [![Admin Panel - Enable AI permissions for the user.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/admin-panel-enable-ai-permissions-for-the-user.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/admin-panel-enable-ai-permissions-for-the-user.PNG)
6. Click **Update permissions** to finalize the changes.

### Using AI Assist

Once enabled, users will see the **AI Assist** button in their Webmail interface. It is available in:

- **The Compose Window**: To draft new messages from brief notes.
- **Reply Windows**: To suggest professional responses based on the conversation history.
- **Email Summaries**: To quickly digest long or complex email threads.

[![Webmail - AI Assist feature.PNG](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/scaled-1680-/webmail-ai-assist-feature.PNG)](https://wikidev.emailarray.com/uploads/images/gallery/2026-04/webmail-ai-assist-feature.PNG)