> For the complete documentation index, see [llms.txt](https://docs.valorx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valorx.com/valorx-wave/wave-advanced/set-up-wave-ai-with-einstein.md). Agents can also search and read this documentation through its [MCP server](https://docs.valorx.com/~gitbook/mcp).

# Set Up Wave AI with Einstein

Wave AI is enabled automatically when you install the Wave Embedded package. If your org would like Wave AI to use Salesforce's Einstein model, a System Administrator can set this up in four steps.

This setup is optional. You only need it if you choose to use Einstein with Wave AI.

For an overview of Wave AI and what it can do in the beta, see [Wave AI Beta](https://docs.valorx.com/valorx-wave/wave-advanced/wave-ai-beta.md).

***

## About This Setup

This guide covers the additional configuration required to use the Einstein model with Wave AI.

The following requirements must be met:

* **Installer API Access**: The System Administrator installing or updating the Wave Embedded package must have the **API Enabled** permission.
* **User API Access:** Every user who will use Wave AI with the Einstein model must have the **API Enabled** permission.
* **External Client App authorization:** You must configure the Valorx External Client App to authorize users who will use Wave AI with the Einstein model.

If you do not intend to use the Einstein model, you can skip this guide. You only need to ensure that the System Administrator enabling Wave AI has API access.

{% hint style="info" %}
**If your org uses Login IP Ranges:** Add the Valorx IP addresses to your allowed ranges. See **Step 3** for details.
{% endhint %}

***

## Approve Users in The Valorx External Client App

The Valorx package installs the settings needed to communicate securely with Salesforce and the Wave AI service. In this step, choose which **profiles or permission sets** can access Wave AI.

{% stepper %}
{% step %}

#### Open the App

1. In Salesforce **Setup**, search for External Client App Manager and click Valorx.<br>

   <figure><img src="https://2237973035-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F65f4C4H8V5e0YV342mwp%2Fuploads%2F5rYlcv7SiPA33VBw8nYE%2FOpen%20the%20Valorx%20External%20Client%20App.gif?alt=media&amp;token=77589a72-7a62-4c0f-9e20-bf898eba48bf" alt=""><figcaption><p>Open the Valorx External Client App<br></p></figcaption></figure>

{% endstep %}

{% step %}

#### Edit the Policies.&#x20;

On the Policies tab, click Edit<br>
{% endstep %}

{% step %}

#### Require Admin Approval

Under **OAuth Policies → Plugin Policies**, set **Permitted Users** to **Admin approved users are pre-authorized**. The profile and permission set selectors will appear.<br>

<figure><img src="https://2237973035-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F65f4C4H8V5e0YV342mwp%2Fuploads%2FWnSZeSNLWG2YcboJTvxj%2FEdit%20admin%20approval.gif?alt=media&amp;token=eab0184e-a507-45ce-925b-84a944746a82" alt=""><figcaption><p>Admin approved users are pre-authorized<br></p></figcaption></figure>
{% endstep %}

{% step %}

#### Choose Who Gets Wave AI and Save.&#x20;

Give access by profile, by permission set, or both.

* **By profile:** Move the required profiles to **Selected Profiles**. All users with those profiles can access Wave AI.
* **By permission set:** Move a permission set to **Selected Permission Sets**. You can use an existing permission set created in your org, a cloned Valorx permission set, or a new permission set.

Click **Save**.<br>

<figure><img src="https://2237973035-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F65f4C4H8V5e0YV342mwp%2Fuploads%2FL9ymYCgG1oG8Y8q1N73r%2FChoose%20who%20can%20access%20Wave%20AI.gif?alt=media&amp;token=f1b641f7-97a5-4894-be61-f6eb9fa460c4" alt=""><figcaption><p>Choose who can access Wave AI</p></figcaption></figure>

{% hint style="info" %}

#### Using a Valorx Permission Set?&#x20;

Salesforce currently doesn't allow permission sets installed with a package to be selected here. In **Setup → Permission Sets**, select a Valorx permission set, such as Valorx Grid Standard User, click **Clone**, and save it with a new name. Select the clone in the External Client App and keep the original Valorx permission set assigned to users so they continue to receive updates. A new permission set for app access does not require any specific permissions.
{% endhint %}

{% hint style="danger" %}

#### Important

If you grant access by permission set, assign the selected permission set to every Wave AI user, including the administrator.
{% endhint %}

{% hint style="warning" %}

#### Using Login IP Ranges?&#x20;

If your profiles use Login IP Ranges, or **Enforce login IP ranges on every request** is enabled in Session Settings, add the Valorx IP addresses to your allowed ranges. Contact Valorx Support for the current list.
{% endhint %}
{% endstep %}
{% endstepper %}

***

## What The Wave AI Can and Can't Do

The Wave AI beta helps users build and edit Wave grids and update records in the open grid using plain English.

### Wave AI can

* Create, update, or delete grids on standard or custom objects.
* Add or remove columns, rename grids, and change grid descriptions.
* Filter, sort, and group rows and columns.
* Adjust the layout, including row height, density, and column width.
* Configure highlighting rules.
* Change grid settings and grid access.
* Update records in the open grid by:
  * Setting or clearing values
  * Changing numbers and dates
  * Cloning rows

### Not available in the beta version

* Matrices and dashboards
* Formulas, Row Actions, and Grid Actions
* Data analytics, including graphs and charts

### Good to know

* **One grid per request.** Ask Wave AI about one grid at a time.
* **Wave AI may ask for clarification.** If a request is unclear, such as which object or field you mean, select an option or provide an answer.
* **Record updates apply only to loaded rows.** Wave AI can update only the rows currently loaded in the grid. Lookup fields, read-only columns, and formula columns cannot be changed.
* **English only.** The beta supports English requests.

***

## Need Help?

If you need help setting up or using Wave AI, contact **Valorx Support** at [**support@valorx.com**](mailto:support@valorx.com) or visit the **Valorx Support** page.
