Here, you'll find answers to some of the most common questions our users have.
Welcome to the Databutton FAQ page!
Please read through our docs for more detailed information. If you don't find what you're looking for, feel free to ask over our Discordsupport channel or reach out to us via Intercom (in-product chat).
General Information
Can I see the code that Databutton generates?
Yes. You can by clicking the Edit Code toggle, which is at the top of the preview.
How to download code?
Go to Settings → App → click the "Export Code" button.
You will be able to create and download a zip file with the code for your app.
Version Controlling and Deployment
Can I deploy my app in Databutton? Can I bring my own custom domain too?
Yes, you can. In all plans, you can deploy your app in Databutton, and it takes the format username.databutton.com.
To deploy to a custom domain, you need been minimum 50$ plan or higher.
To set you up for your custom domain, you need to request via Settings→ Production → Custom Domain. Read more here.
How to Undeploy / hibernate my app?
Go to Settings → App → click the "Undeploy App" button.
You will be able to undeploy your app, removing it from the public internet.
Can I compare the code between different versions of the checkpoints?
Yes, you can. Hit the Restore button, hover over the checkpoint you would like to compare, and you will have the option to Restore or Compare the versions.
Can I restore to the last deployed version?
Yes, you can. Click the Deploy button, and you will see the Restore to Last Deploy button.
Can I restore back to the last checkpoint?
Yes. You can by clicking the Restore button at the top right of the navbar.
1. Find out what the error is: Read the console log (underneath the Preview section) or prompt the agent to show you the error without writing or executing any code.
Investigate the error:
Go to the specific UI component, page, or backend and formulate a prompt based on the error.
If you still need help, reach us via the discord support channel or intercom.
How can I expose my Backend / API outside?
When you are typically trying to expose your API router, you can use the API prefix, which you can find under Settings→ Production → API Prefix
Copy that link and add your router name there. Make sure your backend is not under authentication . You can disable the Authentication by clicking the three dots adjacent to the API.
What do I do if deployment failed?
You can open the console log (underneath the preview) and look for the plausible errors. Usually, deployment fails when there's an error in the frontend (the most common one) or in the backend (you can quickly figure it out if your backend blinks red).
You can monitor that error in the console log and go for the fix.
Subscription and Management
How to upgrade or cancel subscription?
Visit your Databutton Profile, then click Manage Plan and Pricing Information.