This page explains how to create virtual agents for the IVR, web, mobile, and
SMS channels.

## Before you begin

Before you can create a virtual agent, you must [create and integrate
Dialogflow agents](https://docs.cloud.google.com/contact-center/ccai-platform/docs/create-a-dialogflow-agent).

## Create a virtual agent

To create a virtual agent, follow these steps:

1. In the CCAI Platform portal, click **Settings \> Virtual Agent** . If
   you don't see the **Settings** menu, click **Menu**.

2. Click **Add virtual agent** \> **Customer Support** . The **Add a
   Customer Support Agent** dialog appears.

3. In the **Virtual Agent** field, enter a name for your virtual agent. This is
   an internal name that's used for administration and reporting. Google
   recommends giving each of your virtual agents a unique internal name. This
   name is visible to end-users only if you don't set up a [virtual agent
   alias](https://docs.cloud.google.com/contact-center/ccai-platform/docs/use-va-aliases).

4. To set up a virtual agent alias, do the following:

   1. Select the **Virtual Agent Alias** checkbox.

   2. In the **Virtual Agent Alias** field, enter a name. When the checkbox is
      selected, the virtual agent alias is the name that end-users see when
      they interact with this virtual agent. Otherwise, end-users see the
      internal virtual agent name from step 3.

      > [!NOTE]
      > **Note:** If you have multiple virtual agents, Google recommends giving them the same virtual agent alias. That way, when a session with an end-user is transferred to multiple virtual agents, the virtual agents appear to the end-user to have the same name. This creates the impression that a single virtual agent is handling a session. For more information, see [Virtual agent aliases](https://docs.cloud.google.com/contact-center/ccai-platform/docs/use-va-aliases).

5. To upload a custom avatar for your virtual agent, do the following:

   1. Click ![The edit avatar button](https://docs.cloud.google.com/static/contact-center/ccai-platform/docs/images/icon-avatar.png) **Update**.

   2. Navigate to an image for your avatar, and then click **Open** . The
      **Select area to use** dialog appears.

   3. Crop your image, and then click **CROP**.

6. In the **Choose Virtual Agent platform** list, select a platform.

7. In the **Choose workflow** list, select a workflow. A workflow represents
   an authenticated Dialogflow agent.

8. For **Channel** , select **Chat** or **Voice** . The **Menu** checkboxes that
   are available for your selected channel are automatically selected.

9. For **Menu**, change your selections if needed.

10. For **Language**, select one or more languages for your virtual agent.

11. Click **Save**.

12. To turn on your virtual agent, do the following:

    1. Click **Back to Virtual Agents**.

    2. In the **Virtual Agents** pane, find your new virtual agent, and then
       click the toggle to the on position.