---
title: "Dynamics 365 Customer Service"
description: "CM AI Assistant integrates AI-powered email drafting directly into Dynamics 365 Customer Service Workspace."
canonical: "https://docs.cm.com/marketplace/internal-comms-integrations/dynamics-365-customer-service"
---

# Dynamics 365 Customer Service

> CM AI Assistant integrates AI-powered email drafting directly into Dynamics 365 Customer Service Workspace.

Source: https://docs.cm.com/marketplace/internal-comms-integrations/dynamics-365-customer-service

## CM AI Assistant for Dynamics 365 - Setup Guide

### Overview

CM AI Assistant integrates AI-powered email drafting directly into Dynamics 365 Customer Service Workspace. Below is Zip File that will install the application

---

### Prerequisites

- **System Administrator** or **System Customizer** security role for importing the solution
- You must have the \*\*Dynamics 365 Customer Service \*\*account. For Free Trial you can refer to the [AI Customer Service Management Solutions | Microsoft Dynamics 365](https://www.microsoft.com/en-us/dynamics-365/products/customer-service)
- CM Marketplace account with:
  - API URL (provided by CM)
  - API Key (provided by CM)

---

### Installation

#### Step 1: Import the Solution

1. Go to **Power Apps** → [make.powerapps.com](https://make.powerapps.com/)
2. Select your target **environment** from the top-right dropdown
3. Navigate to **Solutions** in the left sidebar
4. Click **Import solution** → **Browse**

\[Import solution Browse dialog in Power Apps]

\[Select the provided zip file dialog]

5. Select the provided `.zip` file (e.g., `CM_AI_Assistant_1_0_0_2_managed.zip`)
6. Click **Next**

#### Step 2: Configure Environment Variables

During import, you will be prompted to enter values for two environment variables:

\[Environment variables prompt during solution import]

| Variable | Description | Example |
| - | - | - |
| **CM API URL** | The full API endpoint URL (can be retrieved through marketplace dashboard) | `https://api.cm.com/marketplace/comms/v1/tenants/{your-tenant-id}/adapters/{your-adapter-id}/dynamics-ai-assistant` |
| **CM API Key** | API KEY (can be retrieved through marketplace dashboard) | `your-api-key-here` |

\[Environment variables filled in during import]

1. Enter both values and click **Next**
2. Click **Import**
3. Wait for the import to complete (the status will show "Succeeded")

\[Solution import succeeded status]

#### Step 3: Publish Customizations

After import, publish all customizations:

1. Go to **Solutions**
2. Select the imported solution

\[Select the imported solution in the Solutions list]

3. Click **Publish all customizations**

---

### How to Use

#### Opening CM AI Assistant

1. Open **Customer Service Workspace**
2. Open an **Email** record (incoming email)
3. Click the **CM AI Assistant** button in the command bar at the top The AI Assistant side pane will open on the right side of the screen.

\[CM AI Assistant button in the command bar]

#### Using the Side Pane

1. **Email Context Card** — The top of the pane shows the incoming email summary (subject and body preview). Click **View Email Context** to see the full email details.
2. **Auto-Generated Draft** — When the pane opens, it automatically generates a draft response based on the email content.
3. **Ask Questions / Refine** — Type a message in the input field at the bottom
4. **Insert to Email** — Click the **Insert to Email** button below any AI response to insert it into the email body. You can then edit the inserted text before sending.

\[Insert to Email button below an AI response]

---
