Step 1 - Install FusionAuth

First, you need an instance of FusionAuth. The easiest place to install? The machine you are currently using to read this page.

Pick your preferred method of installation below. For a list of all our download and installation options, see the download documentation.


Docker Compose

Use the following Docker Compose commands to get up and running quickly with FusionAuth, PostgreSQL, and Opensearch. You might need to modify it if you are using a different operating system. Feel free to open an issue in GitHub if you find any issues.

Step 1: Download the Docker files

  curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml > docker-compose.yml && \
curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env > .env

Step 2: Download the Kickstart files needed for this project

NOTE: The Docker Compose configuration loads these Kickstart files automatically.

  curl -fsSL https://github.com/FusionAuth/fusionauth-example-kickstart/archive/refs/heads/main.zip > kickstarts.zip && \
unzip kickstarts.zip && \
ln -s fusionauth-example-kickstart-main/get-started kickstart

Step 3: Start the Docker Compose containers

  docker compose up

Then open http://localhost:9011 in your browser.

Open the web UI#

Open a browser to http://localhost:9011/admin and you'll be presented with the FusionAuth login page. The installation instructions above used Kickstart, which created an admin user:

  • Username: admin@example.com
  • Password: password

To log into the FusionAuth Admin UI, click the lock icon in the top right. The Admin UI helps you monitor and configure all of the users, roles, applications, and identity providers you'll use with FusionAuth.

Once you've thoroughly explored the UI, log out before proceeding to the next step. The next set of steps all work with an admin user, but it's better to demonstrate login and protected pages as a non-admin instead. To log out, click the Log out button in the top right.

Next steps#