# Club OS

Connecting to Club OS requires an API key and developer credentials (username and password) for each API Middle connects to. Middle's integration with Club OS uses two APIs: v1 and v2.

{% stepper %}
{% step %}

### Whitelisting

Reach out, or have the business reach out, to their Club OS rep. It's possible that you or the customer will need to complete a data authorization form. Whitelisting will need to be provided for both v1 and v2 APIs to use all Middle syncs and actions.
{% endstep %}

{% step %}

### Attain club ID

You will need to acquire the Club OS club ID for the Club OS instance you are trying to connect to.
{% endstep %}

{% step %}

### Connect

In the Middle authentication form, enter the club ID, your Club OS API key  and developer credentials for both v1 and v2 APIs.
{% endstep %}
{% endstepper %}


---

# 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.middle.app/middle-docs/guides/app-reference/club-os.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.
