# Getting started

### Creating a tenant

If you already have a tenant to be used, you can skip to the [next section](https://www.notion.so/Setting-up-Auth0-8b9d86fabcb14bbdbf4b8848a3458793?pvs=21).

After signing in to your Auth0 account, on the top left corner click on the dropdown button and select <mark style="color:red;">`Create tenant`</mark>

<figure><img src="/files/paCN91EvDfh9PyvNOBF4" alt=""><figcaption></figcaption></figure>

Choose a domain, region and environment for this tenant.

<figure><img src="/files/wwbo2SHZGFXk9gesuoIf" alt=""><figcaption></figcaption></figure>

### Creating Application

On the left bar, mouse over it and click the <mark style="color:red;">`Applications`</mark> option, then click on <mark style="color:red;">`+ Create Application`</mark>

<figure><img src="/files/HJQlhQRoUaH4m1lKGnyJ" alt=""><figcaption></figcaption></figure>

Choose a name to identify your app, select <mark style="color:red;">`Regular Web Applications`</mark> and click on <mark style="color:red;">`Create`</mark>.

<figure><img src="/files/LzMPYn1tQhn4dZrSiXI8" alt=""><figcaption></figcaption></figure>

Once it’s created, it should redirect to your app’s <mark style="color:red;">Quick Start</mark> tab. Go to the <mark style="color:red;">Settings</mark> tab of your application and fill the following fields under <mark style="color:red;">`Application URIs`</mark>.

### Additional customizations

Still under the <mark style="color:red;">`Settings`</mark> tab, you can add a logo that will be used on the default pages used by Auth0 (Login, Reset Password, etc.).

A link from an asset uploaded to BF could be used here.

<figure><img src="/files/uHF9OLx1UrkxnFVxV1lM" alt=""><figcaption></figcaption></figure>

The following image shows other options that could be customized according to your policies.

<figure><img src="/files/9qzbRDycR0q4sLARShaq" alt=""><figcaption></figcaption></figure>

### **Add your Dev and Production Domains**

<figure><img src="/files/dFP127XtD0qSBbkIr4Kb" alt=""><figcaption></figcaption></figure>

### **Allowed Callback URLs**

This URL will be used by Auth0 to redirect the user back to your BF app, and the value should be as follows:JavaScriptCopyhttps\://yourapp.domain.com/oauth/auth0/callback​If multiple domains are being used, multiple domains can be added using comma as the separator.JavaScriptCopyhttps\://yourapp1.domain.com/oauth/auth0/callback, <https://yourapp2.domain.com/oauth/auth0/callback>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.klai.studio/engineering-reference-docs/setting-up-auth0/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
