# Configuration

> After downloading and installing the UiPath Add-in, use the following instructions to make it available for use inside a Mule application.

## Overview

After downloading and installing the UiPath Add-in, use the following instructions to make it available for use inside a Mule application.

### Creating a new project

The first step is to create a new Mule project:

1. In Anypoint Studio, click **File**, select **New**, then select **Mule Project**.
2. Enter the project name and specify **Runtime**, **API implementation**, and **Project Location** if needed.
3. Click **Finish** to create the project.

### Configuring the UiPath Global Element

Now you must configure a **Global UiPath Element**. This is used by the UiPath Add-in to authenticate. The Add-in supports **Client Credentials Authentication**.

The following parameters are required for the **Client Credentials** configuration:

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
    Parameter 
    Description 
  
 
 
  
    Base Url 
     The UiPath base URL. Depending on your connection, use one of the following: 
      
         for Cloud Connections - Type in the following: <code>https://cloud.uipath.com/&lt;cloudOrg&gt;/&lt;cloudTenant&gt;/orchestrator_</code> 
         for On-Premises Connections - Specify your On-Premises URL. 
      

  
  
    Client Id 
    The OAuth Client ID registered with UiPath. You can find it in the API Access page of your Cloud Platform account. Navigate to Admin &gt; Tenants . The Tenants page lists all existing tenants. Click the arrow on the left of the desired tenant to display its available services. Click API Access for the Orchestrator service. 
  
  
    Client Secret 
    The Client secret generated when you registered your External Application. For more information, visit the  Setup  page. 
  
  
    Token Url 
     The UiPath token endpoint URL. Depending on your connection, use one of the following: 
      
         for Cloud Connections - Specify the following URL: <code>https://cloud.uipath.com/identity_/connect/token</code> 
         for On-Premises Connections - Specify your Token URL with the following format: <code>&#123;&#123;OnPremURL}}/identity/connect/token</code> . 
      

  
  
    Scopes 
    The OAuth scopes to be requested during the dance. Values entered here are separated by a space. The following are the scopes required for all operations to work: <code>OR.Tasks OR.Folders OR.Folders.Read OR.Robots OR.Machines OR.Execution OR.Assets OR.Jobs OR.Queues</code> . 
  
 

![UiPath Global Element configuration panel showing Client Credentials Authentication fields](https://dev-assets.cms.uipath.com/assets/images/add-ins/add-ins-docs-image-44669-b5611191-3f60717b.webp)
