# Teach your agent the app

At the end of this tutorial, a new user of Nimbus CRM asks the agent how to add a deal. The agent opens the Deals screen and points at the **New deal** button.

In this tutorial, you:

- [Start the map run](#start-the-map-run)
- [Read the map](#read-the-map)
- [Publish and deploy](#publish-and-deploy)
- [Ask the agent the way](#ask-the-agent-the-way)

## Before you begin

- A Web Agent for Nimbus CRM, created with the goal **Get the work done for them**, whose analysis has finished. See [Build your first Web Agent](https://docs.faustine.ai/web-agents/build-your-first-web-agent/).
- The agent is installed in Nimbus CRM. See [Installation](https://docs.faustine.ai/web-agents/installation/).

An agent created with the goal **Teach people to use the app** or **Both** already has a map. Skip to [Read the map](#read-the-map).

## Start the map run

1. In the portal, go to [**Web Agents**](https://auth.faustine.ai/go?to=%2Fweb-assistants) and select the Nimbus CRM agent.
2. Select the **Guide** tab, then **Screens**. The tab lists the routes the analysis found.
3. Select **Map the app**. The **Teach your agent the app** page opens.
4. On the page's first step, select **Map the app**.

Step 4 does two things. It turns the Guide on for the agent, and it starts a map run, which reads the repository on your model provider and is billed like an analysis. Your users are guided once a version that has the map is published and deployed.

The page moves to **Mapping the app**. It shows one card for the orientation and one for each area of the app. You can leave the page and come back. **Stop** ends the run, and **Resume** continues it from the areas already mapped.

> **Checkpoint:** The third step reads **Your agent shows the way now**, with the number of screens and tasks the run wrote.

## Read the map

1. Select **Review the screens**. The **Screens** tab opens with the app's areas in a list.
2. Select the area that holds the Deals screen, then select the screen's row. The row opens with **What it is for**, **What is on it** and **What users do here**.
3. Read the task for adding a deal under **What users do here**. Its steps are the lines the agent says while it points.
4. Select **Start here**. The page shows what the agent tells someone new: what the app is for, its concepts and the first steps.

The names of the areas, screens and tasks are the ones the run wrote from the code. To change any of them, see [Edit screens and first steps](https://docs.faustine.ai/web-agents/guide-screens/).

![The Screens tab after the map run: seven areas, 34 screens and 68 tasks.](https://docs.faustine.ai/images/web-agents/guide-screens-light.png)

## Publish and deploy

The map is in the draft. Your users get it with a version.

1. [Publish a version](https://docs.faustine.ai/web-agents/publish-a-version/).
2. [Deploy the version](https://docs.faustine.ai/web-agents/deploy-a-version/) to the environment Nimbus CRM loads.

## Ask the agent the way

1. Open Nimbus CRM and sign in. Stay on the Dashboard.
2. Open the widget and send `How do I add a deal?`.

The agent answers and the chat moves out of the way. The app goes to the Deals screen and a pointer appears on the **New deal** button, with the first step next to it. Select the button and the pointer moves to the next step. To end the plan early, select **Stop** or press Escape.

![Nimbus CRM on the Deals board. The agent has opened the screen and points at the New deal button with a line of explanation.](https://docs.faustine.ai/images/web-agents/tutorial-guide-points.png)

## What you built

The Nimbus CRM agent has an app map with every screen and the tasks users do on each one, and it guides users with it. The map is under the agent's **Guide** tab, in **Start here** and **Screens**.

## Next steps

- [Edit screens and first steps](https://docs.faustine.ai/web-agents/guide-screens/): correct a purpose, reorder the first steps, turn a screen off.
- [Guide behavior](https://docs.faustine.ai/web-agents/guide-behavior/): turn pointing off, or let the agent operate the screen.
- [The Guide](https://docs.faustine.ai/web-agents/guide/): how the map and the page work together.
