> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/authentication-users-and-connection-state/widget-optional-direct-api-auth.md).

# Can providers connect without the widget?

**The widget is a convenience for the front-end auth flow, not a requirement.** You can connect providers directly via the API:

* Use `POST /auth/authenticateUser` to generate provider auth URLs.
* List available integrations via `/integrations/detailed`.

Mobile-only sources (e.g. Apple Health, Samsung Health) still require the SDK [`initConnection`](https://docs.tryterra.co/health-and-fitness-api/mobile-only-sources) flow.
