# checkout.html

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

1. [Add Tebex.js to your store](https://docs.tebex.io/developers/tebex.js)&#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](https://docs.tebex.io/developers/tebex.js) 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](https://docs.tebex.io/developers/tebex.js) or view the demo over at <https://js.tebex.io>.
