# Create an App Client

App client is a way to configure the application which will use the selected Cognito User pool for authentication.&#x20;

{% hint style="warning" %}
App client is required if you want to use the Cognito Hosted UI. For this example, we are not using Hosted UI directly but will integrate it in a later section.
{% endhint %}

As we have a user pool ready to use now, next, we will have to create an app client that will be allowed to use the pool.

* Select the `App clients` from the left menu in your Cognito user pool
* Enter `App client name`
* Uncheck `Generate client secret`. **This is because JavaScript SDK does not support client secrets**.
* Complete the setup with `Create app client`

At this stage, we have the Cognito app client ready to use for the user pool.

![App Client for our application](https://1642315733-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCam2LtfwWxgwwpbHcu%2F-MCeAx3RZvN8DlEtCEVO%2F-MCeBkwUrw_ZgMc9LjZ_%2FScreen%20Shot%202020-07-20%20at%208.39.18%20AM.png?alt=media\&token=83c2a924-adea-4392-9a18-4fd707a821fe)

{% hint style="info" %}
The **client secret** is used by applications that have a server-side component that can secure the client secret.
{% endhint %}
