Skip to main content
If you want the BI Platform to point to a datasource via the server sdk (instead of Quill Cloud), you can add it to any react app in a few lines of code.

1. Install dependencies

Install @quillsql/admin using your favorite package manager:

2. Add AdminProvider

You connect Quill to React with the AdminProvider component. Similar to React’s Context.Provider, AdminProvider wraps your React app and places Quill on the context, enabling you to access it from anywhere in your component tree. In App.js, let’s wrap our React app with an AdminProvider. We suggest putting the AdminProvider somewhere high in your app, above any component that might use to access BI Platform components. If you’re using QuillProvider in the same react app, make sure it is a child of AdminProvider.
App.js
Then, add two routes in your app, one for each page of the BI Platform. Use your existing navigation system, but here is an example using react router.
App.js