# API Setup

Follow these steps to get started with the TryItOn and make your first successful request.

{% stepper %}
{% step %}

#### Create Your Account <a href="#create-your-account" id="create-your-account"></a>

Sign up at [tryiton.now](https://tryiton.now/signup) to access the [Developer API dashboard](https://tryiton.now/app/developer).
{% endstep %}

{% step %}

#### Generate an API Key <a href="#generate-an-api-key" id="generate-an-api-key"></a>

Go to the [Developer API](https://tryiton.now/app/developer) dashboard and click **Create new API key**.

{% hint style="danger" %}
**Store your key securely 🔒**

Do not share your API key, as anyone with this key can make requests on your behalf.
{% endhint %}
{% endstep %}

{% step %}

#### Purchase Credits <a href="#purchase-credits" id="purchase-credits"></a>

Go to [Pricing](https://tryiton.now/pricing) or [Billing](https://tryiton.now/app/settings/billing) to choose between subscription plans or on-demand credit top-ups based on your usage needs.

{% hint style="info" %}
For large orders, we can offer volume discounts. Contact us at <contact@tryiton.now>
{% endhint %}
{% endstep %}

{% step %}

#### Understand the Fundamentals <a href="#understand-the-fundamentals" id="understand-the-fundamentals"></a>

Review [API Fundamentals](/api-overview/api-fundamentals.md) to understand authentication, request patterns, and error handling.
{% endstep %}

{% step %}

#### Try Virtual Try-On <a href="#try-virtual-try-on" id="try-virtual-try-on"></a>

Start with our [Virtual Try-On Clothes](/api-reference/clothes-tryon.md) endpoint, our most mature and production-ready model.
{% endstep %}

{% step %}

#### Explore Guides <a href="#explore-guides" id="explore-guides"></a>

Check out our [Python](/guides/try-on-python-quickstart.md) and [JavaScript](/guides/try-on-javascript-quickstart.md) quickstart guides for implementation examples.

{% hint style="info" %}
**Need Help?**

If you encounter any issues during setup, join our [Discord Server](https://discord.gg/CrMq9WdHdt) or contact <contact@tryiton.now>
{% endhint %}
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Next:** Ready to make your first API call? Start with [API Fundamentals](/api-overview/api-fundamentals.md) or jump directly to [Virtual Try-On Clothes](/api-reference/clothes-tryon.md).
{% 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.tryiton.now/getting-started/api-setup.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.
