# Piano

How to connect Piano to Churned.io\
Log in to the Churned platform and go to the “Integrations” section. Click on “New Integration” and select Piano from the list.

You will be prompted to enter the following credentials:

Required Credentials

* apiKey – Your Piano API key.
* aid – Your Piano application ID.
* endpoint – The base API endpoint for your Piano environment.<br>

Here’s how you can obtain these credentials:

1. Log in to the Piano Dashboard.
2. Navigate to Settings > API Credentials.
3. Copy your API key and AID (Application ID).
4. Use the correct API endpoint, usually <https://sandbox.piano.io/api> or <https://api.piano.io/api>, depending on your environment.<br>

Input the Credentials\
Paste the API key, AID, and endpoint URL into the Churned integration form.

Click Save to test the connection. Once it’s working, notify the Churned team to begin syncing data.

Helpful Links

* Piano API Documentation
* Piano Developer Portal


---

# 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.churned.io/churned-docs/integrations/piano.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.
