Overview
The App Builder follows a “Prompt to App” workflow. You describe what you want, and AI builds the application structure, pages, and logic for you. You can then fine-tune every detail using the visual editor or code.Creating an App
There are two main ways to create an app:- From Project: In any Project, click “Create app” to generate an application linked to your current data.
- From Chat: Open AI Chat and say “Create a CRM app for this customer table”.
The App Editor Interface
The App Builder provides a dual-interface for both non-technical users and developers.
1. Chat Interface (AI-Driven)
The command center for your app.- Natural Language Editing: Describe changes like “Make the header blue” or “Add a submission form for new records”.
- Auto-Routing: The AI understands which component or page you are referring to and modifies it directly.
- Credential requests: When the app needs access to a third-party account or a secret at run time, App Builder pins a card to the chat panel, such as This app needs your Slack connection. Click Connect my account to run an OAuth flow; the new connection is granted to this app right away. If you already have a usable connection or secret, just grant it; there is no need to connect again. Click Skip to withhold the credential; AI continues with the parts it can complete without it.
- Skills: Open the + menu and choose Skills to manage skills for this app conversation. A skill added here is only available to the current app, and the skills shared with the app’s project and space can be used here as well. Type
/in the input box to choose an enabled skill. - Manage files: Open + → More → Manage files to view files in the app sandbox. Use it to preview supported files, download generated files, or delete files and folders you no longer need.
- Side chats: While the main chat is working, you can open another chat to ask a question or make a small change. Click Open a side chat at the top of the chat panel, and the side chat opens as a tab after Preview and Live in the preview panel. It works on the same app without interrupting the main chat, and only you see its questions and answers; code it changes is saved as app versions too. The app cannot be published while a side chat is answering. Each person can have up to 3 side chats open; click × on a tab to close it, which also stops an answer in progress. Closed chats appear under Recent in a new side chat, where you can continue them. The entry shows once the app has code.
- Clear Conversation: If the current conversation has drifted, click the
...button at the top of the chat panel and choose Clear chat to start a new session. This clears the chat history for the current conversation but does not delete the app itself. The first use shows a confirmation, and you can choose not to show it again next time.

2. Preview Panel
- Preview and Live: The panel has two tabs. Preview runs the version you are building, including changes that are not published yet. Live loads the published app from its public address, so you can compare what your users see with what you are working on. Until the app is published, Live shows a publish prompt instead. App Builder opens a published app on Live and an unpublished one on Preview, and afterwards remembers the tab you last used for that app.
- Multi-Device Simulation: Use the switcher at the top to toggle Desktop, Tablet, and Mobile views.
- Live Generation: The preview panel can show the app taking shape while App Builder is generating.
- Instant Feedback: After App Builder finishes a change, the preview refreshes with the latest saved version.
- Choose Select an element to edit, then click an element in the preview. App Builder adds the element to the chat input. Add your instruction and send the message so AI can update that specific part of the app.
- Choose Edit text directly, then click static text in the preview and type your replacement. You can edit more than one text element before clicking Save. Click Discard edits to undo the pending text changes.
Esc to exit either mode.
3. Developer Mode (Code Editor)
For infinite customization, you have direct access to the code.- Monaco Editor: A VS Code-like experience right in the browser.
- React Components: Edit the underlying React code, Tailwind CSS classes, and logic.
- File Tree: Navigate through the project structure.

Download Code
You can download the entire app as a ZIP archive at any time:- Click the Settings button (slider icon) at the top of the app and choose Code.
- Click the
...menu at the top of the code view. - Select Download code, then click Download code again in the dialog to save a ZIP archive that includes all source files.

.env.example that lists the platform-injected runtime variables (the ones Teable adds to every app automatically) with the Teable access token and the AI access key left blank, and a .gitignore that keeps .env files out of Git.
To run the code locally right away, select Include .env with live credentials in the dialog. The ZIP then holds the real .env instead: the platform-injected runtime variables, including the Teable access token and, when AI access is on, the AI access key. Credentials granted to the app are not part of it.
Import Code
You can update the app’s code by importing a ZIP:- Click the Settings button at the top of the app and choose Code.
- Click the
...menu at the top of the code view. - Select Import code and choose a ZIP file up to 20 MB.
- Include source files only.
node_modules,.next, and other build artifacts are ignored automatically. - The ZIP replaces the existing project. Files you leave out are removed from the new version.
- If the ZIP contains one wrapper folder, Teable strips that folder. You can compress the outermost project folder directly.
- The imported project must include
package.jsonat the project root. - Custom variables in a root
.envfile are stored as your secrets and granted to the app under the same names. Other.env*variants, such as.env.local, are ignored.
Credentials and Config
Keep API keys, credentials, and configuration out of your source. An app uses your credentials: an OAuth connection or a secret you store. In the App Builder chat panel, open + → More → Credentials & config and grant a credential to the app..env in the app’s code either, and each copied app gets its own Teable access token. See Credentials and Integrations for managing credentials and checking where they are used, and Duplicate a Project to Another Space for how tables, records and the rest of a project are copied.
Teable Access Token
An app’s environment variables come from two sources:- Platform-injected variables: Teable provides them to every app, including the Teable access token (
TEABLE_APP_TOKEN), the API endpoint, and the app and project IDs. With AI access on, the AI access endpoint and key are added. - Credentials granted to the app: the secrets and connections you grant in Credentials & config, described above.
- It may have leaked, for example a
.envwas committed to a repository, or pasted into a GitHub issue, a forum post or a chat. - A member who copied the env variables or downloaded code with a
.envno longer works on the project. - The app’s code was handed to someone together with its
.env.
.env holds both values, so if you suspect it leaked, rotate both. Whether you rotate one or both, the preview and the published app update only once. The confirmation lists the effects of what you selected.
When the Token Changes or Stops Working
Audit Records
These actions are recorded in the audit log:- Rotate app access token and Rotate app AI key: a rotation from the Platform credentials card records one entry for each credential rotated.
- Copy app env variables: copying the env variables, which include the access token.
- Export app code: downloading the code; the record shows whether the
.envwas included.
Credentials for External Services and MCP
The Teable access token is only for the app itself. Don’t use it in services outside the app; it can’t be used to connect MCP either.- External services calling the Teable API (for example serverless functions, scripts or CI): use a personal access token. Add only the projects or spaces and the scopes it needs, and set an expiry date. A personal access token acts as the user who created it.
- MCP clients: connect with OAuth (recommended). The client acts as you, and you can remove it at any time under Settings → Developer tools → MCP. Where there’s no browser, use a personal access token instead, again with only the projects and scopes it needs. See Connect Through MCP.
Manage App Files
App Builder stores uploaded files, generated outputs, and runtime files in the app sandbox. In the chat panel, open + → More → Manage files to inspect them. Supported file types open in preview. You can also download files or delete files and folders you no longer need.Add AI Features to an App
Add AI when your app needs to summarize records, classify requests, draft replies, or answer questions for app users. You can tell App Builder what you want, such as: “Add an AI reply assistant for support tickets” or “Summarize each form submission.” App Builder can turn on AI access and add the code for the feature.Sync Code with GitHub
Connect an Account and Create the Repository
Generate the app at least once first. Until the app has code, GitHub sync in the Settings menu is grayed out and can’t be selected.Open the GitHub panel
Connect an account
Pick the account
Name the repository
., -, and _, up to 100 characters.Create and link
main branch, along with a README that points back to the app and explains how the two stay in sync. You cannot link an app to a repository that already exists.
By default a connection belongs to whoever created it. To let collaborators build on the same organization account, select the connection and turn on Allow other members to use this connection. Other members with app editing access can then create repositories for their own apps under that organization. Personal connections cannot be shared, because GitHub requires the account owner’s own authorization to create a repository.
How Syncing Works
Resolve a Conflict
Teable never force-pushes your branch. When the histories diverge, it parks the latest app version on a branch namedteable-sync and marks the link Conflict. Merge teable-sync into main on GitHub; the merge comes back as a new app version and the link returns to Synced. While the conflict lasts, later app versions keep moving the teable-sync branch forward, so merging it always brings in the newest work.
Environment Variables and Local Development
The repository holds source only. Teable never pushes a file whose name starts with.env: not at the project root, not in a subfolder, and not in the commit history. Environment values come from the platform-injected variables and the credentials granted to the app (see Teable Access Token); Teable manages them, and they never enter Git. The repository’s .gitignore already lists .env*, so a local clone will not commit one by accident.
To run the app on your own machine:
Clone and install
pnpm install.Copy the variables
.env file at the project root.Start the app
pnpm dev..env yourself.
To add or replace a credential the app uses in production, use Credentials & config in Teable; editing the local file or committing a .env to GitHub has no effect. After a platform variable changes, such as a rotated Teable access token or AI access key, copy the variables again to refresh your local .env.
Unlink the Repository
Click the delete icon next to the repository name and confirm. Syncing stops, and the repository and its code stay on GitHub. Linking the same app again later creates a new repository rather than reconnecting to the old one.Publishing & Management
Publishing Your App
When your app is ready, click the Publish button (arrow icon) in the top right corner.- Public URL: Teable generates a secure, publicly accessible URL for your app.
- Custom domain: Map your own domain to the app.
- Show branding: Use Show branding in the Publish menu to control whether the published app shows the Build with Teable badge. If you change this setting after publishing, click Redeploy to apply it.
- Unpublish: For a published app, use Unpublish in the publish menu to take the public link offline.
- App configuration changes: When the publish menu shows Runtime configuration changed. Redeploy to apply it to the live app or Branding setting changed. Redeploy to apply it to the live app, click Redeploy.
- Open published app: Once an app is published, switch the preview panel to the Live tab and click the Open published app icon next to the address bar to open the current page of the live app in a new tab.

Unpublish an App
To take a published app offline, open the Publish menu and click Unpublish. After you confirm, the public app URL can no longer be accessed.
Custom Domains
app.yourdomain.com. After you enter the domain, Teable shows the DNS records to add. Add the records with your DNS provider, wait for propagation, then verify the domain in Teable.
You can also use an available subdomain under teable.app and edit the teable.app prefix, such as your-name.teable.app.
When the space’s Business plan expires, Teable notifies the space owners that the custom domain will stop resolving. Renew before then to keep the domain. If the plan isn’t renewed, the custom domain stops resolving and the app’s public link reverts to the default Teable address. If you upgrade to Business again later, you need to bind the custom domain again manually.

Custom Site Info
Use Custom site info in the Publish menu to set the browser tab icon, page title, and description of the published app. The dialog previews how they look together as you edit.App Login
Click the Add sign-in button to the left of Publish at the top of the app to require visitors to sign in before they can use the app. Once sign-in is configured, the button changes to Sign-in settings and its shield icon turns green; after you turn sign-in off, it shows Sign-in disabled.
- Choose where to store app users. You can create a Users table or reuse a table that another app already uses as its user table. Each signed-in user is stored as one record, and the same user table can be reused by multiple apps. Click Edit next to the user table to change the table and set the Email field, which matches a user to their record at first sign-in. You can also set a Name field (optional) (a text field) and an Avatar field (optional) (an attachment field) to show users in Preview as, Users and identities, and record history. Once users have signed in to the app, the user table and email field can no longer be changed.
- Choose at least one sign-in method, such as Email OTP, Google, SSO (OIDC), or Sign in with Teable. Available methods depend on your instance’s authentication settings. When you turn on SSO (OIDC) for an app created earlier, the AI adds the SSO button to its sign-in page automatically.
- Choose an access policy: Anyone can sign up, Allowed email domains, or Invite only.

View App Users
In the Settings menu at the top of the app, choose Users and identities to see the users who have signed in to this app. At the top you can switch between the Current and Published sign-in configurations; the list can be searched by name, email, or ID and filtered by sign-in method and session state. Click a user to see their sign-in methods, whether their sessions are valid, and why a session is currently rejected, under Overview, Login identities, Sessions, and Diagnostics. Last sign-in is when a session was last issued, not whether the user is online now. This view is read-only: you can’t disable users or revoke sessions here. Only the Owner and Creator roles see this entry. Login identity details such as the verified email, identity name, and avatar are shown only to the Owner role.Version History & Rollback
Teable automatically tracks every deployment.- Click the Settings button at the top of the app and choose Version history to view a list of all deployed versions.
- One-Click Rollback: If a new update causes issues, you can instantly revert the live app to any previous stable version.

- Version save failed: a card in the chat saying this version was not saved. Let App Builder keep working, and the next successful save carries these changes along.
- Changes too large to save: this round exceeds the save size limit. Click Send to AI on the card and App Builder looks for oversized test artifacts, debug files, or attachments, cleans them up, and saves again. Such files may already be in the unsaved commit history, so deleting them may not be enough; let App Builder tidy that up as well.
- Some changes were not pushed: shown at the top of the app page when the automatic save at the end of a round failed. Click Retry wrap-up to save again.
Auto-fix
If your custom code changes cause a build error, the deployment will fail.- Teable provides an Auto fix button alongside the error log.
- Clicking this lets AI analyze the compilation error and automatically patch the code to resolve the issue.
Deleting an App
To delete an app, click the... button at the top of the app and select Delete.
Best Practices
For prompt patterns, build tips, rollback advice, and common troubleshooting, see App Builder Practical Guide.FAQ
Does clearing the conversation delete the app?
Does clearing the conversation delete the app?
How do I download or import app code?
How do I download or import app code?
... menu at the top of the code view, then choose Download code or Import code. Imported ZIP files can be up to 20 MB and replace the existing project, so include every source file you want to keep. The imported project must include a root package.json. Custom variables in a root .env file are stored as your secrets and granted to the app under the same names.What should I do if an app's access token leaks?
What should I do if an app's access token leaks?
When do sign-in settings apply to the live app?
When do sign-in settings apply to the live app?
How can an app call AI models at runtime?
How can an app call AI models at runtime?
How are Built-in AI and In-app AI charged?
How are Built-in AI and In-app AI charged?
How do I roll back to a previous version?
How do I roll back to a previous version?
Why does App Builder say the concurrent conversation limit is reached?
Why does App Builder say the concurrent conversation limit is reached?
Concurrent conversation limit (3) reached. Please wait for one to finish., another task is still running. Wait for the previous task to finish before continuing.How are credits refunded when an App Builder run fails?
How are credits refunded when an App Builder run fails?
Where do I configure App Builder for Self-Hosted?
Where do I configure App Builder for Self-Hosted?

