> For the complete documentation index, see [llms.txt](https://docs.tebex.io/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tebex.io/developers/templates/pages/checkout.html.md).

# checkout.html

There is no specific variables for checkout.html. All checkout functionality is handled via opening a new [Tebex.js](/developers/tebex.js/overview.md) session. To start a new Checkout session, you should do the following:

1. [Add Tebex.js to your store](/developers/tebex.js/overview.md)&#x20;
2. [Receive the current baskets ident](#receive-an-ident-for-tebex.js)
3. [Launch the Tebex.js modal](#using-tebex.js)

### Receive an ident for Tebex.js

<mark style="color:green;">`GET`</mark> `/checkout/ident`

This endpoint will return an ident for the current basket, which is required by [Tebex.js](/developers/tebex.js/overview.md) when launching a checkout modal.

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "ident":"null if customer is not logged in"
}
```

{% endtab %}
{% endtabs %}

### Using Tebex.js

To learn how to add Tebex.js to your store, please view the [associated documentation](/developers/tebex.js/overview.md) or view the demo over at <https://js.tebex.io>.
