> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/fabricate/self-hosting-fabricate/configuring-fabricate.md).

# Configuring Fabricate

The following provide information about how to set up the required Fabricate components. The setup for most components includes configuring environment variables in **.env** file.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>PostgreSQL database</strong><br><br>PostgreSQL database for the main Fabricate application container.</td><td><a href="/pages/uUY2wx2uOV8k65grS4Mi">/pages/uUY2wx2uOV8k65grS4Mi</a></td></tr><tr><td><strong>Redis database</strong><br><br>Redis for cache and background tasks queue.</td><td><a href="/pages/GPvb9cPebsB199X3Qjdy">/pages/GPvb9cPebsB199X3Qjdy</a></td></tr><tr><td><strong>Cloud storage</strong><br><br>S3-compatible storage for generated datasets, PDF files</td><td><a href="/pages/Em8ovZWJI5ZhiHVaWAoU">/pages/Em8ovZWJI5ZhiHVaWAoU</a></td></tr><tr><td><strong>Admin email address</strong><br><br>Email address for user feedback and Admin console access.</td><td><a href="/pages/zi47gedVSuva0sez2oAL">/pages/zi47gedVSuva0sez2oAL</a></td></tr><tr><td><strong>Sign-in options</strong><br><br>Enable SSO sign-in through GitHub, Google, or Microsoft Entra ID.</td><td><a href="/pages/0tX0KYKR7LED3Sm1lT1m">/pages/0tX0KYKR7LED3Sm1lT1m</a></td></tr><tr><td><strong>SMTP server</strong><br><br>For user invitations, notifications and password reset emails.</td><td><a href="/pages/tbZzd1kZWtGQ1fGez3TB">/pages/tbZzd1kZWtGQ1fGez3TB</a></td></tr><tr><td><strong>LLM provider</strong><br><br>Configure model provider for Data Agent AI features.</td><td><a href="/pages/p9zHpTQ8x4ADxkX5jCp1">/pages/p9zHpTQ8x4ADxkX5jCp1</a></td></tr><tr><td><strong>Load balancer</strong><br><br>Set up a HTTP/s load balancer for your Fabricate instance.</td><td><a href="/pages/dtB8BEaf2tiCh1T0j03d">/pages/dtB8BEaf2tiCh1T0j03d</a></td></tr><tr><td><strong>PDF sidecar</strong><br><br>Secure isolated container for generating and displaying PDF files.</td><td><a href="/pages/grLJcUuEz4JH0kUDttUr">/pages/grLJcUuEz4JH0kUDttUr</a></td></tr><tr><td><strong>Login attempts limit</strong><br><br>Configure login attempts limit for your Fabricate instance.</td><td><a href="/pages/Eo4dfByOX9tGGrzruEiT">/pages/Eo4dfByOX9tGGrzruEiT</a></td></tr><tr><td><strong>Assumer role ARN</strong><br><br>Configure the assumer role ARN for Fabricate to use with assumed roles.</td><td><a href="/pages/ijcY3PFZUSlGaiTFP4Z3">/pages/ijcY3PFZUSlGaiTFP4Z3</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.tonic.ai/fabricate/self-hosting-fabricate/configuring-fabricate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
