> 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/extra-features-scores-graphs-teams-nutrition-cgm/graphs-feature.md).

# How do I use the Graph API to display per-user data?

**The Graph API generates per-user charts** (sleep, HR, steps, glucose and more).

{% stepper %}
{% step %}
Configure the look, data types and display format in the dashboard's graphs section.
{% endstep %}

{% step %}
Test it free of charge in the testing/staging environments before activating production.
{% endstep %}

{% step %}
You receive a session URL to embed directly in your app as an iframe.
{% endstep %}
{% endstepper %}

The session auto-renews, so you do not regenerate it. Set the `user_id` query parameter on the URL to switch users. See [understanding Terra environments](https://docs.tryterra.co/health-and-fitness-api/integration-setup/understanding-terra-environments) for testing vs production.
