Navigation
This documentation refers to the MongoDB Charts service in MongoDB Atlas. Read the on-premises documentation to learn how to use the MongoDB Charts on site.

Embedding Tutorials

The following tutorials walk you through several scenarios for embedding charts in your application.

Authenticated Embedding

The following tutorials provide detailed instructions for embedding authenticated charts in a web application with the MongoDB Charts Embedding SDK. Authenticated embedded charts are viewable only by users who first provide login credentials through an SSO provider.

Embed a Chart Authenticated with Google Sign-In
Configure Charts to use Google Sign-In to authorize the rendering of embedded charts in an application.
Embed a Chart Authenticated with Realm
Configure Charts to use MongoDB Realm to authorize the rendering of embedded charts in an application.
Embed an Authenticated Chart using a Custom JWT Provider
Configure Charts to validate JWT to authorize the rendering of embedded charts in an application.