> ## Documentation Index
> Fetch the complete documentation index at: https://808-labs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Go from an API key to your first Sandbox cart.

First integration
Confirm your identity, discover products and create a Sandbox cart in four steps.

> [!NOTE]
>
> Start with your assigned Sandbox API URL, an approved test store and a scoped server key. The planned `sandbox.ignite-checkout.ai` host is not active until Ignyt confirms it. Never use a live fulfillment-enabled store for test orders.

## Before you begin

Sign in to the platform dashboard, create or join your company workspace and select Sandbox. If signup is unavailable on your installation, ask your Ignyt contact for an invitation. Create a key with the scopes your integration needs and load it into your server environment.

To exercise a generated key through the dashboard's Sandbox checkout, select **Sandbox API key**
authentication. The default **Dashboard session** uses your signed-in role and does not test a key.
See [authentication modes and required scopes](https://808-labs.mintlify.site/authentication.md#test-a-key-in-the-sandbox-dashboard).

**1. Confirm your app and environment**

Set the base URL supplied for your deployment. Load `IGNITE_API_KEY` from your secret manager; do not put the key into browser code or a URL.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Use your assigned Sandbox API host; never send a key to an unconfirmed host.
export IGNITE_API_BASE_URL="https://<your-assigned-sandbox-api-host>"
curl --fail-with-body "$IGNITE_API_BASE_URL/v1/me" \
  -H "Authorization: Bearer $IGNITE_API_KEY"
```

Check the returned app, environment and effective plan. Your key selects its authority; a client-supplied header cannot switch it to another company or Live.

**2. Find an approved merchant and its products**

These reads require `catalog:read`. Begin with a small page and follow the returned cursors.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --fail-with-body "$IGNITE_API_BASE_URL/v1/directory/merchants?limit=20" \
  -H "Authorization: Bearer $IGNITE_API_KEY"
curl --fail-with-body "$IGNITE_API_BASE_URL/v1/catalog/products?limit=20&variant_limit=10" \
  -H "Authorization: Bearer $IGNITE_API_KEY"
```

An empty catalog can mean no approved/enrolled merchants or no selected products. It does not prove a connector failure. See [merchant access](https://808-labs.mintlify.site/merchants.md) and [catalog synchronization](https://808-labs.mintlify.site/catalog.md).

**3. Create your first cart**

Use a key with `cart:write`. Start with a synthetic shopper reference and the approved delivery country.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --fail-with-body -X POST "$IGNITE_API_BASE_URL/v1/carts" \
  -H "Authorization: Bearer $IGNITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"shopper_ref":"sandbox-shopper-001","country":"AE"}'
```

Save the returned cart ID. Add an authorized variant using `POST /v1/carts/{cart_id}/lines` with `variant_id` and `qty`. Use IDs from the catalog response; product IDs and purchasable variant IDs are different resources.

**4. Quote, approve and submit once**

Set delivery details, apply supported merchant coupons and request a fresh quote. Review stock, shipping, tax, totals and expiry before shopper approval. Quote/submission requires `checkout:write` authority.

Follow the [checkout guide](https://808-labs.mintlify.site/checkout-and-refunds.md) for exact approval, persisted idempotency and payment-handoff requirements. Successful merchant orders stay in place if another store fails; track the confirmed failed allocation's refund separately.

> [!NOTE]
>
> Every authenticated integration HTTP call counts toward usage, including identity checks and retries. API-key scopes, plan features and merchant readiness are separate checks. See [usage and plans](https://808-labs.mintlify.site/usage-and-plans.md).

## Continue building

> [card] [Build your checkout](https://808-labs.mintlify.site/checkout-and-refunds.md)
>
> Quotes, shopper approval, payment handoff and partial failures.

> [card] [Receive order updates](https://808-labs.mintlify.site/webhooks.md)
>
> Signed notifications, durable receipt and outage recovery.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.