> For the complete documentation index, see [llms.txt](https://docs.nected.ai/nected-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nected.ai/nected-docs/integrations/managing-integrations.md).

# Managing Integrations

Integrating your existing database, APIs as well as 3rd party to Nected is a simple and easy process. You just need to create an integration for either a staging or a production database.

## Creating Integrations

1. Log into Nected with your Email ID and password.<br>

   <figure><img src="/files/08XhBVOUX9veJFzttn2H" alt=""><figcaption></figcaption></figure>
2. Click **Integrations** in the left navigation to open the [**Integrations**](https://nected.io/integrations) page.<br>

   <figure><img src="/files/hMz8yvs7GkfvcRFNpU0q" alt=""><figcaption></figcaption></figure>
3. Click **+ Connect** under the database type for which you want to create a connector.\
   \
   The connection information form for your database type opens, in this example MySQL.

   <figure><img src="/files/kdmqhjawJ5ioMqSvNGxu" alt=""><figcaption></figcaption></figure>
4. Enter the connection information for your integrations. Enter the integration, following the configuration steps mentioned in [Integration Libraries](/nected-docs/integrations/integrations-libraries.md) as per corresponding integrations. Click **Test Connection**.
5. Publish your connector to Staging or Production, based on[ your environment](/nected-docs/references/environments.md).

{% hint style="info" %}
**Note:** The connection information is the same for both staging and production databases for all database types – MongoDB, MySQL, MS SQL Server, Postgres Redshift, and so on. Refer to the [**Connector Configuration Parameters**](/nected-docs/integrations/integrations-libraries.md) for the list of database and REST API connector parameters.
{% endhint %}

After you successfully publish a connector, you can connect to the database to create Nected [Datasets](/nected-docs/datasets/overview.md) and [Rules](/nected-docs/rules/overview.md) to run on the target database in the same environment.

## Editing Integrations

You can edit integrations if you are moving to a new configuration or have a change in existing configurations.

Follow this procedure to edit an existing integrations:

1. Log into Nected with your Email ID and password.
2. Click **Integrations** in the left navigation to open the [**Integrations**](https://nected.io) page.<br>

   <figure><img src="/files/PyM5eLdbEAZp0gGQHr4F" alt=""><figcaption></figcaption></figure>
3. Click **three dots** next to the connector state for the connector that you want to edit and select **Edit**.\
   \
   The connector configuration form for your integration opens.

   <figure><img src="/files/y4ivPRVBg9uX21hQN3bQ" alt=""><figcaption></figcaption></figure>
4. Modify the connection configuration following the configuration steps mentioned in [Integration libraries](/nected-docs/integrations/integrations-libraries.md) as per corresponding integrations.
5. Test the connection to your integration using the modified information.
6. After a successful connection to the database, publish your connector to Staging or Production, based on[ your environment](/nected-docs/references/environments.md).
7. Close the connection information form and check the connector status.

After you successfully edit a connector, you can connect to the database.

## Deleting Integrations

You may want to delete an integration in certain scenarios, such as:

* Your integration does not exist anymore.
* You want to create a new connector for a different staging/production database.
* You no longer need to use the connector because you moved from the staging to the production database.

Follow this procedure to delete an existing database connector:

1. Log into Nected with your Email ID and password.
2. Click **Integrations** in the left navigation to open the **Integrations** page.<br>

   <figure><img src="/files/BgpwVtuEXZFa9RWB6BIS" alt=""><figcaption></figcaption></figure>
3. Click **three dots** next to the connector state for the connector that you want to remove and select **Delete**.\
   The **Delete Connector** dialogue box opens.<br>

   ![](/files/ilZb6WxHkjT8mQdznear)
4. Click **Delete** to confirm the delete operation.

{% hint style="info" %}
***Note**:* The delete operation will fail if a connector is being used in any of datasets or rules. You must first remove the connector & update your existing datasets or rules, and then delete the connector.
{% endhint %}

## Usable States between Integrations, DataSet & Rules&#x20;

You can refer to [integration states](/nected-docs/integrations/overview.md#integration-states), [allowed states in the dataset & rules](/nected-docs/references/allowed-status-combinations.md) as well as any [error](/nected-docs/references/troubleshooting-errors.md) to do troubleshooting if you are facing any issues in managing integration.
