> For the complete documentation index, see [llms.txt](https://dhavaln.gitbook.io/serverless-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dhavaln.gitbook.io/serverless-docs/signup-signin/create-an-app-client.md).

# 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](/files/-MCeBkwUrw_ZgMc9LjZ_)

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