> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-rn-guide-message-privately.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UIKitSettings

> UIKitSettings — CometChat documentation.

UIKitSettings is pre-defined structure containing credentials required to initialise [CometChat SDK](/sdk/javascript/overview).

## Structure of UIKitSettings

| Name                          | Type      | Description                                                                                                               |
| ----------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------- |
| appId                         | string    | Unique ID for the app, available on CometChat dashboard                                                                   |
| region                        | string    | Region for the app `us` or `eu`                                                                                           |
| authKey                       | string    | Auth key for the app, available on CometChat dashboard                                                                    |
| subscriptionType              | string    | Sets subscription type                                                                                                    |
| autoEstablishSocketConnection | bool      | Configures web socket connections. When set to true, establishes connection automatically on app initialisation.          |
| roles                         | string\[] | Subscribes user presence of those users having roles as mentioned                                                         |
| adminHost                     | string    | Sets admin URL and used instead of the default admin URL. This can be used in case of dedicated deployment of CometChat   |
| clientHost                    | string    | Sets client URL and used instead of the default client URL. This can be used in case of dedicated deployment of CometChat |
