Forest Admin with Rails - Is direct DB Access required?

Hi All - I used ForestAdmin a lot with my previous employer, but it’s been about 5-years. The company I work for now is scoping it out as a tool and we are trying to setup a demo account. I’m a bit confused as it’s asking for a DB Connection string which was not required in the past.

In the past with Rails we would install the Forest SDK/Gem, add credentials and it would be able to talk to forest from there. Our DB does not have a publicly accessible endpoint. Is a DB connection string a new requirement?

Hello @KidA001

We’re excited to see you again after a long time, we have a lot of new feature waiting for you :wink:

The new onboarding defaults to a Cloud installation, it’s a setup where everything is handled and hosted by Forest Admin, you can find more about it in our documentation.

You can schedule a meet with our team so that we can guide you to the appropriate onboarding flow for your needs.

If you choose self-hosted and are still using Rails, I suggest you to look at our new agent gem !

Best regads,

2 Likes

Do both install methods (cloud install or self hosted) require a direct connection to the DB now?

The self-hosted version works as you remember, the database credentials are only configured on the agent you are hosting on your server, and it does not need to be publicly accessible as shown on this documentation page.

Whereas the Cloud install would require a publicly accessible database, or at least you would need to whitelist our IP adresses, so that the agent we host for you can access the database.

2 Likes

The documentation says:

But when I signup for an account there is nowhere in the signup flow that lets me select an existing rails app to provide an URL for. It requires that I provide a DB string. I have scoured the documentation to see the exact setup steps for linking an existing rails project and I can’t find it. Forest used to be very easy to setup but the documentation for setting up a existing rails project doesn’t exist, just vague references to providing a URL but no documentation or screenshots that show the process.

Hello @KidA001

As stated earlier the new onboarding defaults to a Cloud installation.
You should have received a meeting invitation from the Forest team to guide you on other hosting choices.

It seems that documentation page is no longer up to date, I’ll forward it to the team so it can be updated. Thanks for the heads up.

I’ll reach you via private message to unlock you.

Best regards,

2 Likes