Skip to main content

Introduction

Before you can use Forest to manage your data, you need to connect it to your database. This guide will walk you through the necessary steps to establish a connection between Forest and your database by providing the correct credentials, configuring firewall rules, and using tunneling software when required.

Provide database credentials

To connect Forest to your database, you must enter the following authentication credentials:
  • Hostname
  • Port
  • Username
  • Password
  • Database name
Make sure to have this information at hand before proceeding.

Set up tunneling for local databases

If your database is running locally (e.g., 127.0.0.1), you will need to use tunneling software to expose your local database to the internet. This will enable Forest to connect to it. Some popular tunneling software options include:
  • Ngrok
  • Bastion
  • Localtunnel
Choose a tunneling software that suits your needs and follow its documentation to set up the connection.