Apache Superset
Apache Superset is an open-source business intelligence platform that enables you to explore data, build interactive dashboards, and create powerful visualizations using your Frappe Cloud database.
Overview
To connect Apache Superset with your Frappe Cloud database, you’ll first need to create a read-only database user. Once connected, Superset can be used to analyze your ERP data and build custom dashboards.
Step 1: Create a Database User
Generate a read-only database user for your Frappe Cloud site using the Database Users and Permission Manager.
- Create a read-only database user.
- Wait a few seconds for the configuration to complete.
- Click View Credential to view the connection details.
Keep the following information ready for the database connection:
- Server Name
- Port
- Database Name
- Username
- Password
Step 2: Add a New Database in Superset
Open your Apache Superset dashboard and begin creating a new database connection.
- Navigate to the database connection page.
- Select MySQL as the database type.
Step 3: Configure the Database Connection
Enter the database credentials generated in the previous step.
Make sure to enable the SSL option before continuing with the connection.
Important
Always enable SSL when connecting Apache Superset to your Frappe Cloud database to ensure all communication is encrypted and secure.
Step 4: Verify the Connection
After entering all the required information:
- Complete the connection setup.
- If the configuration is correct, Superset will display a confirmation indicating that the database has been connected successfully.
Next Steps
Once the connection has been established, you can begin using Apache Superset to:
- Create interactive dashboards.
- Build charts and visualizations.
- Analyze ERP and business data.
- Explore your database using SQL and visual query builders.
Best Practice
Use a read-only database user for all external analytics tools. This ensures your production data remains protected while allowing secure access for reporting and business intelligence.