# Connect forestadmin to an api

**URL:** <https://community.forestadmin.com/t/connect-forestadmin-to-an-api/6450>\
**Category:** Help me!\
**Tags:** howtos, typescript\
**Created:** [June 30, 2023, 1:18pm UTC](https://community.forestadmin.com/t/connect-forestadmin-to-an-api/6450 "2023-06-30T13:18:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![D.Juu](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/d.juu/32/6257_2.png) [@D.Juu](https://community.forestadmin.com/u/D.Juu)\
**Post date:** [June 30, 2023, 1:18pm UTC](https://community.forestadmin.com/t/connect-forestadmin-to-an-api/6450/1 "2023-06-30T13:18:20Z")

</div>

Good morning ☀  
I’m working on a new company and forest admin is interesting.

## Feature(s) impacted

Use the forestadmin’s Frontend

## Context

We would like to connect to use forest admin with our api.  
We have got a lot of CRUD and our own database. Forestadmin could help us to growth fast 😁

Is it possible to connect the backoffice to an external api and manage the data between frontend and backend ? I checked [this](https://docs.forestadmin.com/documentation/v/v7-v6-rails/how-tos/setup/install-forest-admin-on-a-rest-api) and it’s look like we are not able to filter / paginate the result 🥲

- Stack
- current backend api : Nestjs, TypeORM
- Database type: Postgres

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [June 30, 2023, 1:39pm UTC](https://community.forestadmin.com/t/connect-forestadmin-to-an-api/6450/2 "2023-06-30T13:39:25Z")

</div>

Hey @D.Juu, welcome to our community. 🥳

> [@D.Juu](#):
>
> We would like to connect to use forest admin with our api.  
> We have got a lot of CRUD and our own database. Forestadmin could help us to growth fast 😁

Superbe use case, Forest Admin is able to do so and even more. 💪

> [@D.Juu](#):
>
> I checked [this](https://docs.forestadmin.com/documentation/v/v7-v6-rails/how-tos/setup/install-forest-admin-on-a-rest-api) and it’s look like we are not able to filter / paginate the result

This is a very old and outdated documentation… 😢 (Thanks for the feedback our team will remove it asap)

> [@D.Juu](#):
>
> Is it possible to connect the backoffice to an external api and manage the data between frontend and backend ?

It’s possible for sure. It really depends on what you are trying to achieve. Forest Admin agent for Node.js [@forestadmin/agent](https://docs.forestadmin.com/developer-guide-agents-nodejs/) (backend that runs on your side) provides a wide range of tools (high-level API) to respond to a variety of use cases.

- It can automatically generate all the [CRUD routes to access data on your SQL databases (literally with one line of code)](https://docs.forestadmin.com/developer-guide-agents-nodejs/data-sources/provided-data-sources/sql)
- You can also call your own API by [declaring some custom data source (that represents your own REST API)](https://docs.forestadmin.com/developer-guide-agents-nodejs/data-sources/custom)
- It’s compliant and [working out of the box with Nestjs](https://docs.forestadmin.com/developer-guide-agents-nodejs/getting-started/install/expose-an-http-endpoint/using-nest)

I can forward your message to some colleagues so they can demonstrate the tool to you and your team if you wish.

Kind regards,  
Morgan
