---
updatedAt: 2026-07-22T09:48:30.000Z
agentTools:
  projectIndex: https://developers.getknit.dev/llms.txt
---

# Integrated Account Types

Integrated accounts can be categorised into two types, **Test** and **Production**.

## Test account

* **Test** account as the name suggests is not billed and generally used for development/testing purpose.
* All integrated accounts are marked as **Test** by default but can be changed to **Production** using any of the options mentioned below in this article .
* A **Test** account is deactivated after 30 calendar days and can't be reinstated.
* A Knit account can have up to **3** **Test** integrated accounts.

## Production account

* **Production** accounts are used for billing purposes.
* There are no limits to the number to **Production** integrated accounts an account can have.
* Production accounts are not deactivated unless manually done through the [dashboard](https://app.getknit.dev).
* Account marked as **Production** can be converted to a **Test** account using any of the options mentioned below in this article .

> 📘 It is advisable to use "Test" account for sales demo.
>
> But, "Test" accounts expire after 30 days and can't be reinstated. However, you can create another "Test" account for the same app and it's credentials by creating another "Test" account with a new origin org ID. See [setting up Knit UI](https://developers.getknit.dev/docs/getting-started) for more details on creating an integrated account.

<br />

# Converting account types

One can convert any integrated account marked as **Test** to **Production** account type or vice versa in the following ways:

## During new Integrated Account creation

### [Auth Session Creation API](https://developers.getknit.dev/reference/auth-session-creation-api)

Passing a boolean value for the optional body param `testAccount` can be used to mark the integrated account as **Test** or **Production**.

If the `testAccount` param is not passed, the organisation level default setting is used to mark the integrated account as **Test** or **Production**.

For example, the following cURL would mark the integration as **Test**

```curl
curl --request POST \
     --url https://api.getknit.dev/v1.0/auth.createSession \
     --header 'Authorization: Bearer <YOUR_API_KEY>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "testAccount": true,
  "originOrgId": "client1",
  "originOrgName": "Client 1",
  "originUserEmail": "user@client1.com",
  "originUserName": "User 1"
}
'
```

<br />

### Magic Link Creation

While creating a magic link, one can choose to make the integrated account generated via the magic link as **Test** or **Production** via the **Mark as Test account** switch in Magic link form.

<Embed url="https://www.loom.com/embed/08374c662f2e41c1bc0b2afae294b65e?sid=a2544a76-3cf0-4aa9-8cd7-9447b4825184" title="iframe" provider="loom.com" href="https://www.loom.com/embed/08374c662f2e41c1bc0b2afae294b65e?sid=a2544a76-3cf0-4aa9-8cd7-9447b4825184" typeOfEmbed="iframe" height="400px" width="600px" iframe="true" />

<br />

## Switch an existing Integrated Account from Test to Production or vice versa

### Integrated Accounts Page

For existing integrated accounts, one can switch between **Test** and **Production** account type via  `⋮`  icon in the table listing details for each integrated account.

<Embed url="https://www.loom.com/embed/c6d84c6e92a34910af048a2a3f366930?sid=fb60d790-bb8d-4e28-a60b-e273e514b4d8" title="iframe" provider="loom.com" href="https://www.loom.com/embed/c6d84c6e92a34910af048a2a3f366930?sid=fb60d790-bb8d-4e28-a60b-e273e514b4d8" typeOfEmbed="iframe" height="400px" width="573px" iframe="true" />

<br />

## Mark future Integrated Accounts as Test or Production by default

### Integrated Accounts Settings switch

All integrated accounts created in future can be marked from as **Test** or **Production** by default through Integrated Accounts Settings.

<Embed url="https://www.loom.com/embed/b9440dfe5f9d48088205fab78c753c38?sid=bf2e7a56-deb6-481a-8440-a72ad600a997" title="iframe" provider="loom.com" href="https://www.loom.com/embed/b9440dfe5f9d48088205fab78c753c38?sid=bf2e7a56-deb6-481a-8440-a72ad600a997" typeOfEmbed="iframe" height="400px" width="600px" iframe="true" />