> 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="/fabricate/self-hosting-fabricate/configuring-fabricate/postgresql-database.md">PostgreSQL database</a></td></tr><tr><td><strong>Redis database</strong><br><br>Redis for cache and background tasks queue.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/redis-database.md">Redis database</a></td></tr><tr><td><strong>Cloud storage</strong><br><br>S3-compatible storage for generated datasets, PDF files</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/cloud-storage.md">Cloud storage</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="/fabricate/self-hosting-fabricate/configuring-fabricate/admin-email-address.md">Admin email address</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="/fabricate/self-hosting-fabricate/configuring-fabricate/sign-in-options.md">Sign-in options</a></td></tr><tr><td><strong>SMTP server</strong><br><br>For user invitations, notifications and password reset emails.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/smtp-server.md">SMTP server</a></td></tr><tr><td><strong>LLM provider</strong><br><br>Configure model provider for Data Agent AI features.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/llm-provider.md">LLM provider</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="/fabricate/self-hosting-fabricate/configuring-fabricate/load-balancer.md">Load balancer</a></td></tr><tr><td><strong>PDF sidecar</strong><br><br>Secure isolated container for generating and displaying PDF files.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/pdf-sidecar.md">PDF sidecar</a></td></tr><tr><td><strong>Login attempts limit</strong><br><br>Configure login attempts limit for your Fabricate instance.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/login-attempts-limit.md">Login attempts limit</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="/fabricate/self-hosting-fabricate/configuring-fabricate/assumer-role-arn-for-fabricate.md">Assumer role ARN for Fabricate</a></td></tr><tr><td><strong>Trusted certificates for TLS/HTTPS traffic</strong><br><br>Enable outbound calls when your system intercepts and re-signs TLS and HTTPS traffic.</td><td><a href="/fabricate/self-hosting-fabricate/configuring-fabricate/ca-certs-tls-https.md">Trusted CA certificates for TLS/HTTPS traffic</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
