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

# Metaphor

Integrate Soda with Metaphor to access details about the quality of your data from within the data catalog. The following video illustrates how to take advantage of the integration.

{% embed url="<https://player.vimeo.com/video/656375442?h=a811ec4d0f>" %}

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* You have verified some contracts and published the results to Soda Cloud.
* You have a Metaphor account with the privileges necessary to allow you to add a data source.
* You have a git repository in which to store the integration project files.

### Set up the integration <a href="#set-up-the-integration" id="set-up-the-integration"></a>

1. Sign into your Soda Cloud account and confirm that you see the datasets you expect to see in the data source you wish to test for quality.
2. To connect your Soda Cloud account to your Metaphor account, create an `.env` file in your integration project in your git repo and include details according to the example below. To obtain the values for your Soda API keys, refer to [Generate API keys](/reference/soda-apis/generate-api-keys.md)<br>

   ```
    SODA_HOST=cloud.soda.i
    SODA_API_KEY_ID
    SODA_API_KEY_SECRET
    METAPHOR_ACCESS_KEY_ID
    METAPHOR_SECRET_ACCESS_KEY
    # s3 bucker path without trailing slash
    METAPHOR_S3_PATH
    SODA_LOGGING_LEVEL=INF
   ```

### Run the integration <a href="#run-the-integration" id="run-the-integration"></a>

Contact <support@soda.io> to acquire the assets and instructions to run the integration and view Soda Cloud details in your Metaphor catalog.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.soda.io/integrations/metaphor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
