# Start the Checkout Process

When you are ready to redirect the customer to checkout, there are two ways of beginning the checkout experience:

## 1. Embedded - via Tebex.js

If you'd like the customer to remain on your website to complete their purchase, you're able to integrate **Tebex.js**, which is our embeddable checkout experience.&#x20;

Head over to the [Tebex.js documentation](https://docs.tebex.io/developers/tebex.js) to get started.

## 2. External - via Redirect

You may also redirect the customer to an external checkout window using the following URL:&#x20;

`https://pay.tebex.io/{ident}`&#x20;

This is the same as the `links.checkout` value in a Basket API response. Where `{ident}` is the ident value returned when creating the basket.

{% hint style="warning" %}
When a customer starts their payment (is redirected to PayPal, provides their card details etc), a copy of the basket at that point in time is converted to a pending payment.

Any changes made to the basket after this point **will not be reflected** unless the checkout process is re-started.
{% endhint %}


---

# 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.tebex.io/developers/checkout-api/start-the-checkout-process.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.
