# Microsoft SQL: connect your data source

Connect Microsoft SQL through **Settings → Integrations**, using the connection route offered for your account. Have your database administrator confirm the settings. Contact support when the source is unavailable or you need setup assistance.

Prepare the source datasets before the connection is activated. [Microsoft SQL dataset preparation](/article/microsoft-sql-set-up-and-connection) explains that separate job.

## Before you connect Microsoft SQL

Use the Optiply account that must receive the data. Arrange access to its **Settings** and an administrator for the intended SQL Server database.

Agree whether the connection only reads source data or also exports purchase orders. Read-only access and outbound writes need different permissions. Do not grant database-wide write access for an import.

## Steps to connect Microsoft SQL

1. In Optiply, open **Settings → Integrations**.
2. Wait for the source lists to finish loading.
3. Choose **Add a source**.
4. Search for **Microsoft SQL**.
5. Select the matching source when it appears.
6. Choose **Next** to open **Connect to system**.
7. If a credential form is offered, review its fields against the approved database settings.
8. Enter credentials only through that form.
9. When the settings are confirmed and **Connect** is available, choose **Connect**.
10. If **Contact us** is offered instead, choose it to continue with support. Review the database identity, datasets and enabled directions before activation.
11. After setup, return to **Settings → Integrations**.
12. Check the linked source for the **Connected** label.

If Microsoft SQL is absent, contact support instead of choosing another database connector. Do not submit guessed settings.

## Fields in the Microsoft SQL connection

Use the fields offered for your account. The following labels identify the corresponding database details when shown.

| Field or control | Meaning |
| --- | --- |
| **Source name** | The connector selected for this Optiply account. |
| **Host Name** | The SQL Server hostname supplied by your administrator. |
| **Port** | The listening port for that server, not an assumed default. |
| **Database** | The database containing the agreed datasets. |
| **Schema** | The namespace containing the agreed tables or views. |
| **User** and **Password** | The database connection identity and its private password. |
| **Connected** | The linked-source status, separate from imported record checks. |

Support confirms the fields for your offered connection. Do not replace database credentials with your Optiply login.

## What you see when Microsoft SQL connection worked

The linked-source list displays the source name and **Connected**. Then check the agreed sample records with support. The status alone does not confirm that products, orders or receipts arrived correctly.

## Limits of connecting Microsoft SQL

If your account reaches its integration limit, the dialog routes you to support instead of a credential form.

Source selection does not configure SQL Server datasets or grant database permissions. A successful administrator login on another computer does not confirm that the connector can reach the server. Agree the network path, authentication and each enabled direction before activation.

## If Microsoft SQL connection did not work

**Add a source** stays disabled while the lists load. Wait for loading to finish. If it remains disabled, or the source is missing, contact support.

For login or connection errors, ask your administrator to verify the hostname, port, database and approved user access. Keep certificate validation enabled. Include the step and non-sensitive error text in your support request, never the password or an unmasked screenshot.

## Related articles on Microsoft SQL data

- [Prepare Microsoft SQL datasets](/article/microsoft-sql-set-up-and-connection)
- [Microsoft SQL field mapping](/article/integrations-data-mappings-public-ms-sql)
