# Fabric SQL

To add a Fabric SQL destination, you will need to enter the details listed below.&#x20;

* Server or host name
* Port
* Database
* Schema

Refer to the fields highlighted in the screenshot to get the host, port, database name, and schema name from the connection string.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fw3RzpedB3GeotUlKrtz8%2Fimage.png?alt=media&#x26;token=137b726e-41cc-41ec-85f4-40288fbc5cdc" alt=""><figcaption><p>Retrieving the host, port, database and schema </p></figcaption></figure>

* Service principal client ID&#x20;

{% hint style="info" %}
Ensure that this Service principal client ID has **Contributor** access to the workspace that is added.
{% endhint %}

* Service principal client secret

Refer to the fields highlighted in the screenshot to get the Service principal client ID. The Client secret can be obtained while creating the service principal account.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FGMlv3CFr5nhb4ZNf7hgB%2Fimage.png?alt=media&#x26;token=c44af74d-820c-4a1d-81a5-20963f4df1a1" alt=""><figcaption><p>Retrieving the Service principal ID</p></figcaption></figure>

* Tenant ID(from Microsoft Entra ID)

Refer to the screenshots to get the tenant ID.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FmUJ47HbQcgCVSn2vBv8p%2Fimage.png?alt=media&#x26;token=5f5343a1-fd76-4c60-95f9-6362bcc515a0" alt=""><figcaption><p>Retrieving the Tenant ID</p></figcaption></figure>

Configuration for adding a Fabric SQL writeback destination.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FQ521FWYu5SjaIXmlibMS%2Fimage.png?alt=media&#x26;token=05e2ad15-8ef4-4418-a766-ddcb71b79ef2" alt=""><figcaption><p>Fabric SQL destination</p></figcaption></figure>
