To use a database, you will need to create it. Only PostgreSQL users with privileges to access a database can read or write to that database.\
How to create and add a user to the PostgreSQL database

**Step 1**

Logged into your cPanel in the “DATABASE” tab, locate the item “PostgreSQL Database”.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbU5RIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--83e3b8ffbf49128e810eac7e7bea798951716536/image%20-%202026-07-10T162347.075.png)

**Step 2**

In the “Create a new database” option you must define a name for your database, then click to create and a success message should be displayed on your screen.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVJRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f76d89665c381add83408ded177b26787248da8c/image%20-%202026-07-10T162402.416.png)

The created database should be listed below under “Current databases”.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVZRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9213fa3d7eb1fff08a16635dc5ba4535582b046b/image%20-%202026-07-10T162417.069.png)

**Step 3**

Now we will create a user for this database, fill in the fields with the necessary data and click on "Create user".

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVpRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--73796e377b92b96d7ac1a2115365a3263daa04bf/unnamed%20(15).png)

Current users are listed at the bottom of the page.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbWRRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6dee988d4e4821cc8751ef08e73067dfb56904b6/unnamed%20(16).png)

**Step 4**

Now let's add this user to the database we created. You must select the user you want, and also choose which bank to add if you have more than one.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbWhRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--38ccd9a21330c58b2d5bf4ce5c4024e6a12e5c14/image%20-%202026-07-10T162542.171.png)

Finally click “Send” and the success message should be displayed on your screen.

\
![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbWxRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--395d80f6b9f8fcd4ee25731bacf5b6694bac59b0/image%20-%202026-07-10T162606.051.png)

Hope this helps !