# Reference Guide

- [How it works](https://docs.forestadmin.com/documentation/reference-guide/how-it-works.md)
- [Environments](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/environments.md)
- [Developing on Forest Admin](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin.md)
- [Using branches](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/using-branches.md)
- [Deploying your changes](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/deploying-your-changes.md)
- [Forest CLI commands](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands.md)
- [init](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/init.md)
- [login](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/login.md)
- [branch](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/branch.md)
- [switch](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/switch.md)
- [set-origin](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/set-origin.md)
- [push](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/push.md)
- [environments:reset](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/environments-reset.md)
- [environments:create](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/environments-create.md)
- [deploy](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/deploy.md)
- [schema:diff \[beta\]](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/forest-cli-commands/schema-diff-beta.md): This page explains how to update your schema and avoid issues when pushing layout changes.
- [Express packages](https://docs.forestadmin.com/documentation/reference-guide/how-it-works/developing-on-forest-admin/express-packages.md)
- [Models](https://docs.forestadmin.com/documentation/reference-guide/models.md): ⚠️ This page and sub-pages are relevant only if you installed Forest Admin directly on a database (SQL/Mongodb). If you installed in a Rails/Django/Laravel app, you manage your models like you normal
- [Enrich your models](https://docs.forestadmin.com/documentation/reference-guide/models/enrich-your-models.md): ⚠️ This page is relevant only if you installed Forest Admin directly on a database (SQL/Mongodb). If you installed in a Rails/Django/Laravel app, you manage your models like you normally would.
- [Relationships](https://docs.forestadmin.com/documentation/reference-guide/models/relationships.md)
- [Create a Smart relationship](https://docs.forestadmin.com/documentation/reference-guide/models/relationships/create-a-smart-relationship.md)
- [GetIdsFromRequest](https://docs.forestadmin.com/documentation/reference-guide/models/relationships/create-a-smart-relationship/getidsfromrequest.md)
- [Smart Relationship Examples](https://docs.forestadmin.com/documentation/reference-guide/models/relationships/smart-relationship-examples.md)
- [Smart hasMany relationship in mongoDB](https://docs.forestadmin.com/documentation/reference-guide/models/relationships/smart-relationship-examples/smart-hasmany-relationship-in-mongodb.md)
- [Actions](https://docs.forestadmin.com/documentation/reference-guide/actions.md)
- [Create and manage Smart Actions](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions.md)
- [Use a Smart Action Form](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions/use-a-smart-action-form.md)
- [Use a Smart Action Intent](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions/use-action-intent.md)
- [Smart Action Examples](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples.md)
- [Calculate the distance between two string addresses](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/calculate-the-distance-between-two-string-addresses.md)
- [Impersonate a user](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/impersonate-a-user.md)
- [Create a record with a multiselect through a many-to-many relationship](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/create-a-record-with-a-multiselect-through-a-many-to-many-relationship.md)
- [Handle enums with alias labels in a smart action](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/handle-enums-with-alias-labels-in-a-smart-action.md)
- [Dropdown with list of values in smart action form](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/dropdown-with-list-of-values-in-smart-action-form.md)
- [Custom dynamic dropdown in a form using smart collections](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/custom-dynamic-dropdown-in-a-form-using-smart-collections.md)
- [Refresh hasMany relationship in smart action](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/refresh-hasmany-relationship-in-smart-action.md)
- [Smart segment to restrict access to an action on a record details view](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/smart-segment-to-restrict-access-to-an-action-on-a-record-details-view.md)
- [BelongsToMany edition through smart collection](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/belongstomany-edition-through-smart-collection.md)
- [Upload files to amazon s3](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/upload-files-to-amazon-s3.md)
- [Upload several files with the File Picker](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/upload-several-files-with-the-file-picker.md)
- [Retrieve smart field info in a smart action](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/retrieve-smart-field-info-in-a-smart-action.md)
- [Smart action to create several records from the input of a single smart action form](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/smart-action-to-create-several-records-from-the-input-of-a-single-smart-action-form.md)
- [Add many existing records at the same time (hasMany-belongsTo relationship)](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/add-many-existing-records-at-the-same-time-hasmany-belongsto-relationship.md): This example shows how to associate multiple existing records at once to a record using a simple smart action.
- [Call a webhook with record ids](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/call-a-webhook-with-record-ids.md)
- [Bulk update records](https://docs.forestadmin.com/documentation/reference-guide/actions/smart-action-examples/update-users-in-bulk.md): This example shows how to bulk update users
- [Smart Fields](https://docs.forestadmin.com/documentation/reference-guide/smart-fields.md)
- [Smart Field Examples](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples.md)
- [Add an HTML credit card as a smart field in a summary view](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/add-an-html-credit-card-as-a-smart-field-in-a-summary-view.md)
- [Display field with complex info in html format (rich text editor)](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/display-field-with-complex-info-in-html-format-rich-text-editor.md)
- [Generate signed urls to display S3 files in a smart field](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/generate-signed-urls-to-display-s3-files-in-a-smart-field.md)
- [Print a status object in a single line field](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/print-a-status-object-in-a-single-line-field.md)
- [Sort by smart field](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/sort-by-smart-field.md)
- [Sort by smart field that includes value from a belongsTo relationship](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/sort-by-smart-field-that-includes-value-from-a-belongsto-relationship.md)
- [Add fields destined to the create form](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/add-fields-destined-to-the-create-form.md)
- [Add validation to a smart field edition](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/add-validation-to-a-smart-field-edition.md)
- [Display smart field as progress bar using rich text editor](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/display-smart-field-as-progress-bar-using-rich-text-editor.md)
- [Update point geometry field using a smart field and algolia api](https://docs.forestadmin.com/documentation/reference-guide/smart-fields/smart-field-examples/update-point-geometry-field-using-a-smart-field-and-algolia-api.md)
- [Smart Collections](https://docs.forestadmin.com/documentation/reference-guide/smart-collections.md)
- [Examples](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/examples.md)
- [Create a Smart Collection with Amazon S3](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/examples/amazon-s3-integration-example.md)
- [Smart relationship between model and stripe cards](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/examples/smart-relationship-between-model-and-stripe-cards.md)
- [Create records from a Smart collection](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/examples/create-records-from-a-smart-collection.md)
- [Searchable smart collection with records fetched from hubspot API](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/examples/searchable-smart-collection-with-records-fetched-from-hubspot-api.md)
- [Serializing your records](https://docs.forestadmin.com/documentation/reference-guide/smart-collections/serializing-your-records.md)
- [Routes](https://docs.forestadmin.com/documentation/reference-guide/routes.md)
- [Default routes](https://docs.forestadmin.com/documentation/reference-guide/routes/default-routes.md): ⚠️ This page is relevant only if you installed Forest Admin directly on a database (SQL/Mongodb). If you installed in a Rails app, the default routes are managed within your Rails app.
- [Extend a route](https://docs.forestadmin.com/documentation/reference-guide/routes/extend-a-route.md): ⚠️ This page is relevant only if you installed Forest Admin directly on a database (SQL/Mongodb). If you installed in a Rails app, check the "Override a route" page.
- [Override a route](https://docs.forestadmin.com/documentation/reference-guide/routes/override-a-route.md)
- [Integrations](https://docs.forestadmin.com/documentation/reference-guide/integrations.md)
- [Stripe](https://docs.forestadmin.com/documentation/reference-guide/integrations/stripe.md)
- [Mixpanel](https://docs.forestadmin.com/documentation/reference-guide/integrations/mixpanel.md)
- [Intercom](https://docs.forestadmin.com/documentation/reference-guide/integrations/intercom.md)
- [Elasticsearch](https://docs.forestadmin.com/documentation/reference-guide/integrations/elasticsearch.md)
- [Interact with your Elasticsearch data](https://docs.forestadmin.com/documentation/reference-guide/integrations/elasticsearch/interact-with-your-elasticsearch-data.md)
- [Elasticsearch service/utils](https://docs.forestadmin.com/documentation/reference-guide/integrations/elasticsearch/elasticsearch-service-utils.md)
- [Another example](https://docs.forestadmin.com/documentation/reference-guide/integrations/elasticsearch/another-example.md)
- [Zendesk](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk.md)
- [Authentication, Filtering & Sorting](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk/authentication-filtering-and-sorting.md)
- [Display Zendesk tickets](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk/display-zendesk-tickets.md)
- [Display Zendesk users](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk/display-zendesk-users.md)
- [View tickets related to a user](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk/view-tickets-related-to-a-user.md)
- [Bonus: Direct link to Zendesk + change priority of a ticket](https://docs.forestadmin.com/documentation/reference-guide/integrations/zendesk/bonus-direct-link-to-zendesk-+-change-priority-of-a-ticket.md)
- [Dwolla](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla.md)
- [Display Dwolla customers](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla/display-dwolla-customers.md)
- [Display Dwolla funding sources](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla/display-dwolla-funding-sources.md)
- [Display Dwolla transfers](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla/display-dwolla-transfers.md)
- [Link users and Dwolla customers](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla/link-users-and-dwolla-customers.md)
- [Dwolla Service](https://docs.forestadmin.com/documentation/reference-guide/integrations/dwolla/dwolla-service.md)
- [Razorpay](https://docs.forestadmin.com/documentation/reference-guide/integrations/razorpay.md)
- [Hubspot](https://docs.forestadmin.com/documentation/reference-guide/integrations/hubspot.md)
- [Create a Hubspot company](https://docs.forestadmin.com/documentation/reference-guide/integrations/hubspot/create-a-hubspot-company.md)
- [Display Hubspot companies](https://docs.forestadmin.com/documentation/reference-guide/integrations/hubspot/display-hubspot-companies.md)
- [Twilio](https://docs.forestadmin.com/documentation/reference-guide/integrations/twilio.md)
- [Send an SMS with Twilio and Zapier](https://docs.forestadmin.com/documentation/reference-guide/integrations/twilio/send-an-sms-with-twilio-and-zapier.md)
- [Azure Table Storage](https://docs.forestadmin.com/documentation/reference-guide/integrations/azure-table-storage.md)
- [Slack](https://docs.forestadmin.com/documentation/reference-guide/integrations/slack.md)
- [Send Smart Action notifications to Slack](https://docs.forestadmin.com/documentation/reference-guide/integrations/slack/send-smart-action-notifications-to-slack.md)
- [Algolia](https://docs.forestadmin.com/documentation/reference-guide/integrations/algolia.md)
- [Geocode an address with Algolia](https://docs.forestadmin.com/documentation/reference-guide/integrations/algolia/geocode-an-address-with-algolia.md)
- [Smart Views](https://docs.forestadmin.com/documentation/reference-guide/smart-views.md)
- [Create a Map view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-map-view.md)
- [Create a Calendar view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-calendar-view.md)
- [Create a Shipping view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-shipping-view.md)
- [Create a Gallery view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-gallery-view.md)
- [Create a custom tinder-like validation view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-custom-tinder-like-validation-view.md)
- [Create a dynamic calendar view for an event-booking use case](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-dynamic-calendar-view-for-an-event-booking-use-case.md)
- [Create a custom moderation view](https://docs.forestadmin.com/documentation/reference-guide/smart-views/create-a-custom-moderation-view.md)
- [Smart Segments](https://docs.forestadmin.com/documentation/reference-guide/smart-segments.md)
- [Scopes](https://docs.forestadmin.com/documentation/reference-guide/scopes.md)
- [Create a scope more than one level away based on a Smart field](https://docs.forestadmin.com/documentation/reference-guide/scopes/create-a-scope-more-than-one-level-away-based-on-a-smart-field.md)
- [Scope on a smart field extracting a json's column attribute](https://docs.forestadmin.com/documentation/reference-guide/scopes/scope-on-a-smart-field-extracting-a-jsons-column-attribute.md)
- [Performance](https://docs.forestadmin.com/documentation/reference-guide/performance.md): Loading performance is key to streamlining your operations. Here are a few steps we recommend taking to ensure your Forest is optimized.
- [Charts](https://docs.forestadmin.com/documentation/reference-guide/charts.md)
- [Create an API-based Chart](https://docs.forestadmin.com/documentation/reference-guide/charts/create-an-api-based-chart.md)
- [Create a Smart Chart](https://docs.forestadmin.com/documentation/reference-guide/charts/create-a-smart-chart.md)
- [Create Charts with AWS Redshift](https://docs.forestadmin.com/documentation/reference-guide/charts/create-charts-with-aws-redshift.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forestadmin.com/documentation/reference-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
