# Dataplex

{% content-ref url="/pages/v4VZbZlV0LQwimcRdE2o" %}
[Dataplex Metadata Extracted](/integrations/data-quality-tools/dataplex/dataplex-metadata-extracted.md)
{% endcontent-ref %}

## Getting started with Dataplex

There are two steps to get started using Dataplex with Secoda

1. Create a GCP Service Account JSON key
2. Connect Dataplex to Secoda

#### Create a GCP Service Account JSON key

* Login to [GCP console](https://console.cloud.google.com/) and go to the [Service Accounts page](https://console.cloud.google.com/iam-admin/serviceaccounts).
* Click + **Create Service Account**
* Enter a name click **Create and Continue**
* In the **Grant this service account access to project** section add the following roles:
  * `Data Catalog Viewer`
  * `Dataplex Metadata Reader`
  * `Dataplex Viewer`
  * `Dataplex DataScan Data Viewer`
* Click **Done**
* Search for the Service Account that was just created, click the three dots action menu and select **Manage keys**
* Click **Add key > Create new key**
* Select **JSON** and click **Create**
* Save the JSON key to be used later

#### Connect Dataplex to Secoda

After retrieving the Service Account JSON key, the next step is to connect it to Secoda:

1. In the Secoda App, select Add Integration on the Integrations tab
2. Search for and select Dataplex
3. Enter your Dataplex Service Account JSON key retreived above
4. Once successfully connected, a prompt will ask you to run the initial extraction

**Verify the Connection**

After the sync has completed successfully, resources that are decorated with additional metadata (e.g. tag templates) and fields will have the Dataplex icon. The fields will show up as custom properties in the resource sidebar.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/42f79eb2-4bcc-4d77-a01e-9aaa631ebe05.png" alt=""><figcaption><p>Resource with Dataplex metadata</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.secoda.co/integrations/data-quality-tools/dataplex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
