---
title: "Manage connections"
description: "Edit, deactivate, activate, or delete a connection, and generate a new client secret."
contentType: "guide"
url: "https://developer.mindtickle.com/docs/getting-started/connections/manage-connections/"
---

## Prerequisites

1. [Create a connection](/docs/getting-started/connections/create-a-connection/): You need the Technical Settings permission and at least one connection.

The **Connections** tab lists every connection in your company, with its **Connection name**, **Status**, **Created on**, **Expires**, **Created by**, and the number of **Permissions**. Use **Search connection**, **Created by**, and **Status** to find a connection. To act on a connection, click the **More options** icon on its row.

## Connection statuses

| Status       | Meaning                                                                                                              | Actions available                         |
| ------------ | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| **Active**   | The connection works.                                                                                                | **Edit**, **Deactivate**, **Delete**      |
| **Expired**  | The client secret has passed its expiry date. The connection can't sign in until you activate it with a new client secret. | **Edit**, **Activate**, **Delete**   |
| **Inactive** | An admin deactivated the connection. It can't sign in until you activate it again.                                   | **Activate**, **Delete**                  |

:::note

When reps connect an AI client that registers itself with Mindtickle, such as Claude in the default setup, that AI client also appears in the list. Its **Created by** column shows a system name instead of a person.

:::

## Edit a connection

1. On the connection's row, click **More options** > **Edit**. The connection opens on the **Review** step, with a card for **Details**, **Authorization**, and **Permissions**.
2. Click **Edit** on the card you want to change. You can change the name and description, the permissions, and, for the **Authorization code** grant type, the callback URLs.
3. Click **Save changes**.
4. In **Save and apply changes?**, check the list of changes, and click **Apply changes**.

:::note

- Changes apply to all users within 60 minutes.
- You can't change the grant type or the **Client ID**. To use a different grant type, create a new connection.
- An **Authorization code** connection must keep at least one callback URL. If you remove the last one, Mindtickle shows **Add at least one callback URL** and doesn't save the change.

:::

## Generate a new client secret

Generate a new client secret when the current one is about to expire, when it is lost, or when you think someone else has seen it.

1. On the connection's row, click **More options** > **Edit**, and click **Edit** on the **Authorization** card.
2. Next to **Client secret**, click the **Generate new client secret** icon.
3. In **New client secret generated**, copy the new client secret with the copy icon, store it in a secure place, and click **Done**. The new client secret is shown only once, so copy it now.
4. In **Client secret expiry**, choose how long the new secret stays valid.
5. Click **Save changes**, and then click **Apply changes**.
6. Update the client secret in every AI client or integration that uses this connection.

:::caution

After you apply the changes, the old client secret stops working.

:::

## Deactivate a connection

Deactivate a connection to stop it from working without deleting it.

1. On the connection's row, click **More options** > **Deactivate**. If the connection is already open, click **Deactivate** at the top of the panel.
2. In **Deactivate connection?**, click **Yes, deactivate**.

The connection can't get new tokens, and its current client secret can't be used again: activating the connection needs a new client secret. Tokens already issued keep working until they expire, which is within one hour. After that, AI clients that use the connection can't renew their sign-in, so reps need to connect again after you activate the connection.

## Activate a connection

Use this for a connection with the status **Inactive** or **Expired**. Activating always needs a new client secret.

1. On the connection's row, click **More options** > **Activate**. The connection opens on the **Authorization** step, with a message that you need a new client secret.
2. Next to **Client secret**, click the **Generate new client secret** icon.
3. In **New client secret generated**, copy the new client secret with the copy icon, store it in a secure place, and click **Done**. It is shown only once.
4. In **Client secret expiry**, choose how long the new secret stays valid.
5. Click **Next**. **Next** is available only after you generate a new client secret.
6. On the **Review** step, check the connection, and click **Activate**.
7. Update the client secret in every AI client or integration that uses this connection.

:::note

The connection stays inactive until you click **Activate**. If you click **Cancel** after you generate a new client secret, Mindtickle asks **Leave without activating?**. If you click **Yes, leave**, neither the old nor the new client secret works until you come back and activate the connection.

:::

## Delete a connection

1. On the connection's row, click **More options** > **Delete**. If the connection is already open, click the **More options** icon (**⋮**) at the top of the panel > **Delete**.
2. In **Delete connection?**, click **Yes, delete**.

:::caution

Deleting a connection is permanent. If you may need the connection again, deactivate it instead.

:::

## Related

- [Best practices](/docs/getting-started/connections/best-practices/): Keep connections secure and simple to manage.
