- Handling payments, authentication, or other sensitive logic
- Receiving webhooks from third-party services like Stripe or GitHub
- Generating images or social preview cards on demand
- Calling external AI APIs like OpenAI
- Sending transactional emails
- Building messaging bots for Slack, Discord, or other platforms
View server functions
To open the server functions settings for your project’s database:- Open your Bolt project.
- In the top center of the screen, click the database icon.
- Click Server Functions.

View logs
To view logs for a server function, click View Logs. You can see activity from the past hour.

Update server functions
Bolt deploys your server functions for you, both when it creates them and when it updates them. If you change a server function yourself, the change isn’t live until you ask Bolt to deploy it.Deploy server functions you change yourself
If you manually change a server function in Code view, in the terminal, or in your connected GitHub repository, Bolt doesn’t automatically deploy the change, even when you publish your site. You need to ask Bolt to update the server function so your project uses the updated version. When Bolt updates your server functions, it deploys every function that’s changed since the last deploy. There’s no way to redeploy only one specific function. Before you ask Bolt to deploy your server functions, make sure any changes to other functions are ready to go live, too. To deploy server function changes yourself:-
Check the current number of deployments on your server functions:
- In the top center of the screen, click the database icon, then click Server Functions.
- In the Deployments column, check the number for each function.
-
In the chatbox, send this prompt:
- After Bolt finishes, close and reopen (or refresh) the Server Functions page in your database settings to see the updated deployment count.
- In the Deployments column, check that the number for each function you changed went up by one. This confirms that the deployment was successful.
Delete server functions
To delete a server function:- Open your Bolt project.
- In the top center of the screen, click the database icon, then click Server Functions.
- Find the function you want to delete, then click the trash can icon.
- Click Delete to confirm.