Quickstart

Ready to give Apache Superset a try? This quickstart will help you run Superset on your local machine in 5 simple steps. It assumes that you have Docker installed.

1. Get Superset

To get started, set the SUPERSET_VERSION environment variable with the latest Superset version. Click here to check the latest version.

  1. $ export SUPERSET_VERSION=<latest_version>

Pull the Superset image from Docker Hub:

  1. $ docker pull apache/superset:$SUPERSET_VERSION

2. Start Superset

Quickstart - 图1tip

Note that some configuration is mandatory for Superset in order to start. In particular, Superset will not start without a user-specified value of SECRET_KEY in a Superset configuration file or SUPERSET_SECRET_KEY as an environment variable. Please see Configuring Superset for more details.

  1. $ docker run -d -p 8080:8088 \
  2. -e "SUPERSET_SECRET_KEY=$(openssl rand -base64 42)" \
  3. -e "TALISMAN_ENABLED=False" \
  4. --name superset apache/superset:$SUPERSET_VERSION

3. Create an account

  1. $ docker exec -it superset superset fab create-admin \
  2. --username admin \
  3. --firstname Admin \
  4. --lastname Admin \
  5. --email admin@localhost \
  6. --password admin

4. Configure Superset

  1. $ docker exec -it superset superset db upgrade &&
  2. docker exec -it superset superset load_examples &&
  3. docker exec -it superset superset init

Quickstart - 图2tip

This step can take some time. While you wait, feel free to join the official Slack channel to check for new releases, ask questions, and engage with the community. Click here to join.

5. Start using Superset

After configuring your fresh instance, head over to http://localhost:8080 and log in with the default created account:

  1. username: admin
  2. password: admin

🎉 Congratulations! Superset is now up and running on your machine! 🎉

Wrapping Up

Once you’re done with Superset, you can stop and remove it just like any other container:

  1. $ docker container rm -f superset

Quickstart - 图3tip

You can use the same container more than once, as Superset will persist data locally. However, make sure to properly stop all processes by running Docker stop command. By doing so, you can avoid data corruption and/or loss of data.

What’s next?

From this point on, you can head on to:

Or just explore our Documentation!