# Connect

When it comes to wearables and health sensors, the end user has ultimate control over what data is shared. Therefore, you must ask your end user to authorize their data source or device within your app before you can receive any health and wearable data. This will enable us to collect data for you and present it in a unified format.

<figure><img src="/files/qzBiLT1CzGy5kusP0dpL" alt="The gif shows the Thryve Connection Widget and how a user connects to Apple Health using it." width="188"><figcaption><p>Thryve Connection Widget (embedded in Thryve Sample App)</p></figcaption></figure>

Users will need to authorize their data sources within your application. For authorization of [web data sources](#user-content-fn-1)[^1], they will authorize access to the data of their data source account, and therefore all devices linked to this account. For [native data sources](#user-content-fn-2)[^2], users will authorize access to data on their smartphone or tablet where your app is installed, and therefore access data from all devices and apps connected to the data source on the corresponding device.

With Thryve, you only need to do two things to obtain authorization and make your users connect:

1. Create a Thryve user for whom the connection will be established, and data will be saved with
2. Let your users connect within your app via the Thryve Connection Widget or your custom data source connection screen.

### How do I create a user and let my user connect?

If you have a **mobile application,** please refer to the following integration guidelines:

* [Initialize the Thryve SDK and launch the Thryve Connection Widget](/integrate-your-mobile-app/connect-data-sources.md)
* [Build your own data source connection screen using the SDK](/integrate-your-mobile-app/connect-data-sources/build-your-custom-data-source-connection-screen.md)

If you have a **web application,** please refer to the following integration guidelines:

* [Create a Thryve user via API call](/integrate-your-web-app/create-thryve-user.md)
* [Receive Thryve data source connection widget URL via API call](/connect-data-sources.md)

[^1]: Data sources like Fitbit, Garmin, Oura or Withings where a server-to-server connection is established

[^2]: Data sources like Apple Health, Health Connect, or Samsung Health where data is retrieved locally on the users device via the Thryve SDK.


---

# 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.thryve.health/thryve-product-overview/connect.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.
