# Is the Rails framework setup compatible with Mongodb as a database?

**URL:** https://community.forestadmin.com/t/is-the-rails-framework-setup-compatible-with-mongodb-as-a-database/5780
**Category:** Help me!
**Created:** [January 4, 2023, 12:35am UTC](https://community.forestadmin.com/t/is-the-rails-framework-setup-compatible-with-mongodb-as-a-database/5780 "2023-01-04T00:35:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![matthewblack](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@matthewblack](https://community.forestadmin.com/u/matthewblack)
#### Post date: [January 4, 2023, 12:35am UTC](https://community.forestadmin.com/t/is-the-rails-framework-setup-compatible-with-mongodb-as-a-database/5780/1 "2023-01-04T00:35:38Z")

</div>

## Feature(s) impacted

Setup

## Observed behavior

Hey there - I recently installed forest as a Rails framework setup. However, when I boot up my server I get a `ActiveRecord::ConnectionNotEstablished` error. However, I’m using MongoDB as the database.

## Expected behavior

Successful connection

## Failure Logs

[2023-01-03T16:23:14 (process) #7135][INFO] appsignal: Starting AppSignal 3.0.27 (bin/rails, Ruby

```javascript
2.7.3, arm64-darwin21)
[2023-01-03 16:23:16] Forest 🌳🌳🌳 No Apimap sent to Forest servers, it seems that the database is not accessible:
ActiveRecord::ConnectionNotEstablished
       route mount ForestLiana::Engine => '/forest'

```

Is the Rails framework setup compatible with Mongodb as a database? Ideally, I would want to setup via the framework vs a microservice.

---

<div class="post-metadata">

### Author: ![matthv](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/matthv/32/3269_2.png) [@matthv](https://community.forestadmin.com/u/matthv)
#### Post date: [January 4, 2023, 9:11am UTC](https://community.forestadmin.com/t/is-the-rails-framework-setup-compatible-with-mongodb-as-a-database/5780/3 "2023-01-04T09:11:41Z")

</div>

Hello @matthewblack. 👋 Welcome to our community

Our rails agent is currently not compatible with mongodb.  
The only solution is to use our structure microservice.

I pushed your request to our ProductBoard.  
Please come back to us if you need help.
