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

# Export faster with several Katapult API keys

> Add more Katapult API keys so one export runs as several streams at once

Katapult limits how fast each API key can send data, so a normal export uses one key and sends one object at a time. With **Katapult parallel exports**, you add more keys and Cloneable splits the export across them. Each key runs as its own stream, called a **lane**, and the lanes run at the same time.

With parallel exports, Katapult also credits each change to the person whose key sent it. An object a crew member worked on goes out with their key, if they have one.

## How keys become lanes

There are two places a Katapult key can live. They do different jobs.

| Key | Where it lives | What it's for |
| - | - | - |
| **Organization key** | **Secrets vault**, as `KATAPULT_API_KEY` | Imports, single-object exports, and the backup export lane. Always required. |
| **Katapult keys** | **Settings** → **Organization** → **Katapult keys** | One parallel lane each, up to 4 lanes |

> [!WARNING]
>
> The organization key in the Secrets vault is **never** a parallel lane. It's only used when no key in the **Katapult keys** table works. For two lanes, you need **two active keys in the Katapult keys table**, plus the organization key in the Secrets vault.

Each key must belong to a **different Katapult user**. Cloneable won't store the same key twice, and it won't accept a key in the table that's already the organization key. So:

| You want | Katapult users' keys you need |
| - | - |
| 1 lane | 2 (the organization key plus 1 table key) |
| 2 lanes | 3 (the organization key plus 2 table keys) |
| 4 lanes (the maximum) | 5 (the organization key plus 4 table keys) |

## Before you start

* Ask Cloneable to make **Katapult parallel exports** available to your organization.
* A Cloneable **organization admin** sets it up.
* A working organization key in the Secrets vault. See [Add your Katapult API key](https://docs.cloneable.ai/guides/integrations/katapult.md#1-add-your-katapult-api-key).
* An API key from each extra Katapult user. In Katapult, every one of those users needs write access to the jobs you export.

## Set it up

**1. Turn on parallel exports**

Open **Settings** → **Organization** → **Features** and switch on **Katapult parallel exports**. This adds the **Katapult keys** tab and the new export dialog. If you don't see the switch, ask Cloneable to make it available.

**2. Get a key from each Katapult user**

Each person logs in to Katapult as themselves, clicks the apps icon at the top right, then **Home**, and creates or copies their API key. Keys belong to one Katapult user, so one person can't give you several keys.

**3. Add the keys to Cloneable**

Open **Settings** → **Organization** → **Katapult keys** and click **Add key**. In **For**, choose:

* **Organization (pooled)** for a shared key that isn't tied to one Cloneable member, or
* the Cloneable member the key belongs to, so their work goes out under their name.

Add a **Label**, paste the key into **API key**, and click **Add key**. Cloneable checks the key with Katapult before saving it. Repeat for each key.

Members can also add their own key under **Settings** → **Account** → **Katapult API key**.

**4. Check the table**

The pinned **Organization key (legacy)** row is the Secrets vault key, so it doesn't count as a lane. Every other row is a lane only when its status is **Active**.

> [!WARNING]
>
> Each Cloneable member can have **one** active key. If you add a second key for the same member, the first one switches to **Disabled**. Choose a different member, or **Organization (pooled)**, for each key.

## Export on several lanes

**1. Start the export**

Start the export as usual, from the job's **Export** button or from **Export data** → **Export to Katapult** on the map.

**2. Check the plan**

The dialog takes a few seconds while Cloneable checks each key against the Katapult job. It then lists every key with the number of objects it will send, and any key that failed the check. Objects that a member with a key worked on go to that member's key. The rest are spread evenly across the other keys.

**3. Confirm**

Choose whether to delete items in Katapult that were deleted in Cloneable, then click **Export on N lanes** (or **Export and delete** if you chose to delete). Check the button names the number of lanes you expect.

**4. Follow progress**

The job's **Export status** shows an **Exporting on N lanes** card, with progress for each key and a **Cancel** button.

If you cancel, objects already on their way finish and the rest wait for the next export. Exporting again only sends what hasn't been exported yet.

> [!NOTE]
>
> Every key shares your Katapult company's monthly API allowance. More keys make an export faster, but they don't raise that limit.

## Troubleshooting

> [accordion] The export only uses one key
>
> Check these in order:
>
> 1. **One of your keys is the organization key.** The Secrets vault key isn't a lane. Add another user's key to the **Katapult keys** table.
> 2. **A key shows Disabled.** It was replaced by a second key added for the same member. Delete it and add it again for the right member, or for **Organization (pooled)**.
> 3. **A key failed the check in the export dialog.** That Katapult user can't reach this Katapult job. Share the job with them in Katapult, or use another user's key.
> 4. **You added the key while an export was running.** A running export doesn't pick up new keys. Cancel it and export again.

> [accordion] A key shows Invalid
>
> Katapult rejected the key, for example because it was regenerated or the user was removed. Delete it, create a new key in Katapult, and add it again.

> [accordion] This is already the organization key stored in the Secrets Vault
>
> That key is already the organization key, which can't also be a lane. Use a different Katapult user's key.

> [accordion] This API key is already stored for the organization
>
> The key is already in the table, maybe as a **Disabled** row. Delete that row first, then add the key again.

> [accordion] The organization Katapult key cannot access this Katapult job
>
> A parallel export won't start until the Secrets vault key works for the job. Fix the organization key first. See [Katapult credentials are invalid or expired](https://docs.cloneable.ai/guides/integrations/katapult/troubleshooting.md#api-key).


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