# Running local bots via UiPath Assistant

{% hint style="info" %}
Since Release 2.1.6, the "Run local UiPath process" brick is only available on Enterprise plans.
{% endhint %}

## Running local bots via UiPath Assistant

By integrating PixieBrix with UiPath Assistant, you can trigger local automation processes directly from the web browser. You can even pass information from the page as input arguments to the process.

### Install UiPath Assistant

Install UiPath Assistant on your computer. See the [UiPath documentation for installation instructions](https://docs.uipath.com/robot/docs/uipath-assistant).

### Configure a UiPath Assistant brick

#### Add the "Run local UiPath process" brick

In the Page Editor, add the "Run local UiPath process" brick

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2FRZzwh1LeHAJtqda9mXv7%2Fimage.png?alt=media&#x26;token=134abd57-b2e4-4ad9-8208-0159dc2a1bd2" alt=""><figcaption></figcaption></figure>

You browser will prompt you to Open UiPath assistant, originating from the page you're currently editing:

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2FBIg6zrUS2jdhZdPcOliv%2Fimage.png?alt=media&#x26;token=06909352-4690-4f96-b146-ff661d53dbc4" alt=""><figcaption></figcaption></figure>

Once you click "Open UiPath Assistant", the UiPath Assistant will prompt you to give access to the page. Accept the access request:

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2F0fLYHg2l4bHxQIxJrIVC%2Fimage.png?alt=media&#x26;token=6216d139-a312-487c-857b-52778ebb8dca" alt=""><figcaption></figcaption></figure>

#### Configure the UiPath Process

Now that PixieBrix is connected to the UiPath assistant, you can select the UiPath process you want to run from the dropdown

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2FqvsuV1BAQSeZXvql7gZk%2Fimage.png?alt=media&#x26;token=3370a3d8-312e-4c6e-8601-e05528215aae" alt=""><figcaption></figcaption></figure>

Next, locate the input arguments for the process.

{% hint style="info" %}
You can learn how to create/manage input arguments for process in the UiPath documentation: [Managing Arguments](https://docs.uipath.com/studio/docs/managing-arguments)
{% endhint %}

In the UiPath Assistant, select "Show process details" from the dropdown menu next to the process

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2FfR4vaczB28G5XwHzdS1S%2Fimage.png?alt=media&#x26;token=8cc94b63-012e-45c2-9e66-9a864e91bb4f" alt=""><figcaption></figcaption></figure>

The "Customize" section will show the names of the input parameters. For example, in the following screenshot, the input is called `in_CaseNumber`

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2F0r5FQjCkJkzU1KGGtZBK%2Fimage.png?alt=media&#x26;token=d8603fc1-681b-4cca-9bf3-a0b36282a488" alt=""><figcaption></figcaption></figure>

In the PixieBrix block configuration, click "Add Property" to add an input argument. Paste in the name of the property, and enter an expression for the value. Repeat for each input you want to pass in

<figure><img src="https://2274778196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq123bF1HPQPV35s5vHa1%2Fuploads%2F9tuq7P1Ji1qe7eMi7LKR%2Fimage.png?alt=media&#x26;token=5f0d9dd2-5d3f-42cc-8c03-78d709b202e7" alt=""><figcaption></figcaption></figure>
