> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokensupply.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Driffle

> Connect Driffle with an API key, create offers, declare stock, and reach a global audience for your keys.

Driffle is a global digital marketplace. You connect it with a single API key, create offers against your TokenSupply products, declare how much stock to put on sale, and let orders flow in.

## Before you start

Driffle connects with one API key from your Driffle merchant account.

* A Driffle merchant account. If you do not have one, become a merchant at Driffle first.
* Your **Driffle API key** (a Merchant API bearer token) issued by Driffle.

## Connect Driffle

<Steps>
  <Step title="Open Driffle from Integrations">
    Go to **Integrations** and choose Driffle.
  </Step>

  <Step title="Enter your API key">
    Paste your Driffle API key. It is stored encrypted and never shown again.
  </Step>

  <Step title="Test and activate">
    Save your credentials, use **Test connection** to confirm the key reaches Driffle's Seller API, then set the channel active.
  </Step>
</Steps>

## Map products

On the Driffle page under **Sales channel**, use **New Offer** to create an offer, choosing a product, a price, and the stock to put on sale. Every action on a Driffle row is tied to its offer, so a row needs an offer before you can declare stock or manage it. A row without one reads as **Not listed**.

You can also map an existing listing to one of your TokenSupply products so paid orders fulfil on their own.

You can filter the listings table by **Mapping** (mapped or not mapped) and **Stock** (in stock or out of stock) to find the rows that still need attention.

## What syncs

* **Stock.** Driffle keeps the stock it sells, so you set the count with **Declare stock** rather than a background push. Declaring sends the amount to Driffle, and it is not reconciled afterward, so set it deliberately.
* **Price.** You edit a single listing price with **Update offer**, which is sent to Driffle. There is no separate business price on this channel.

Turn on **Auto-sync** on the Driffle integration screen to keep your Driffle listings in step on a schedule, and choose the interval.

## How orders arrive

When a buyer checks out on Driffle, Driffle asks TokenSupply for the keys, and TokenSupply takes them from the mapped product's stock. The sale then appears in your Orders as one order, already delivered, with a line for each product in it. The Driffle page also has an **Activity** view where sales, offer writes, and errors for the channel appear.

TokenSupply records the sales Driffle makes through this checkout. Sales delivered some other way, for example on your Driffle account before you connected it to TokenSupply, are not imported, so a key is never taken twice for one sale.

<Note>
  Related: [Connect a sales channel](/guides/sales-channels/connect-a-sales-channel) for the overview, and [How fulfilment works](/guides/selling-fulfilment/how-fulfilment-works) for what happens after an order is placed.
</Note>
