Skip to main content

Set Database User

The Dub requires a read-only user that can connect to the source database.

ℹ️ How to create a read-only user
--  Replace <password> with your value
CREATE USER dubhub WITH PASSWORD '<password>';
GRANT pg_read_all_data TO dubhub;
GRANT pg_read_all_settings TO dubhub;
GRANT pg_read_all_stats TO dubhub;

At this stage, you'll see a form like this:

Create Database User
  • Enter the username and password for the user you created and the database name to connect to.
  • Click Next to continue.