# Creating a Client Application

## Configure Password Authentication for the Client Application

Follow these steps to configure password authentication for the client application:

1.  [View authenticated clients](broken-reference). The **Auth Clients** page displays.&#x20;

    <figure><img src="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2FwSl0hwRC5tkppR7JNwdW%2Fimage.png?alt=media&#x26;token=e6f1ce02-ca59-41d3-8860-6480b62a8515" alt=""><figcaption></figcaption></figure>
2.  Click the **+Auth Client** button. The **Create Auth-Client** screen displays.&#x20;

    <figure><img src="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2F8S9NzbO6xTP3W5effdTR%2Fimage.png?alt=media&#x26;token=3c415823-09e9-4ea9-8826-a6f27c067cae" alt=""><figcaption></figcaption></figure>
3. In the **Name** setting, enter a name for the client authentication.
4. Select the grant type you will be using.
5. Click **Save**. A new authenticated client is created.
6.  The authenticated client in the **Auth Clients** page contains the client secret, and the client id is the primary key of the table. In the example above, Passwrod Grant application has the client id of `3`, and then click the **Copy Client Secret to Clipboard** icon.

    <figure><img src="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2FrPZ2VNq013DZxpnaXxZP%2Fimage.png?alt=media&#x26;token=fe9b4acb-d62e-4c12-b263-87123d682c62" alt=""><figcaption></figcaption></figure>

That's it. You are now ready to attempt authenticating with the ProcessMaker REST API.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Getting an Access Token</td><td></td><td></td><td><a href="getting-an-access-token">getting-an-access-token</a></td><td><a href="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2FBZ9ubxhdcJO1r5VaNC3L%2Ftoken.png?alt=media&#x26;token=0c7af5dd-9200-401a-a8e2-ba595e60e3cf">token.png</a></td></tr><tr><td>Getting a Refresh Token</td><td></td><td></td><td><a href="getting-a-refresh-token">getting-a-refresh-token</a></td><td><a href="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2FZAoDkOWX66NOsVJw6miH%2Frefresh.png?alt=media&#x26;token=ac94adc4-b09e-48d6-ad51-497d4a76788b">refresh.png</a></td></tr><tr><td>Starting a Request VIA REST API</td><td></td><td></td><td><a href="../working-with-the-api/starting-a-request-via-rest-api">starting-a-request-via-rest-api</a></td><td><a href="https://1243566085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPyTHGwZ0VereJkRNmGxE%2Fuploads%2FZHx7VaF3pex1qdnCmfiT%2Fstart%20api.jpeg?alt=media&#x26;token=f70e2c83-6db1-4325-82f7-e00aa864e86f">start api.jpeg</a></td></tr></tbody></table>

{% hint style="info" %}
If you want to dig deeper into client applications, you can see the [full documentation here](broken-reference).
{% endhint %}

{% hint style="info" %}
If you need more details about which grant type to use, you can look at the relevant [documentation here](broken-reference).
{% endhint %}
