# Customization Overview

### Authentication

The whitelabel uses JWTs with the TensorDock API in order to securely authenticate users. These are stored in the browser via the `whitelabelToken` cookie.

### Payments

TensorDock uses Stripe for deposits and payments. To deploy virtual machines, users first deposit funds to their account. This balance is incrementally billed over time depending on their usage of their virtual machines. In our templates, we provide a simple flow on the `Account` page that uses Stripe payment intents to allow users to deposit funds.

We use Stripe destination charges to ensure that when the customer views their financial statements, they are billed from your organization, not TensorDock. For more information on how this works, please view this guide: <https://docs.stripe.com/connect/destination-charges>.

### Deploying and Managing VMs

Deployments and VM management settings (such as stopping or deleting a VM) function by using our public API. If you need custom functionality that is not currently offered by our API, please contact us for support.


---

# 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.tensordock.com/whitelabel/customization-overview.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.
