ServerlessWP is installed!

Now we need to add a database for WordPress.

One of the easiest ways to do that right now is with a free TiDB cloud database.

The following environment variables need to be populated in your project at Vercel after creating a database.

Go to your project's dashboard at Vercel to make sure these values for your database details are entered. Then remember to re-deploy your project!

Having trouble? Send a chat message.



SQLite + S3 database alternative

Want to try WordPress without a database server?

A super low cost and low maintenance way to handle WordPress data is to combine SQLite as a database with S3 storage. ServerlessWP does all of the hard work to keep the data in-sync.

It's great for blogs, portfolios, and documentation sites.

Check out the project readme for more details.

The environment variables to try this approach should be:

  • ❌ SQLITE_S3_BUCKET (bucket name you created)
  • ❌ SQLITE_S3_API_KEY (key to access the bucket)
  • ❌ SQLITE_S3_API_SECRET (key to access the bucket)
  • ❌ SQLITE_S3_REGION (region where the bucket lives - create it near your serverless functions)


This page is auto-generated as part of the ServerlessWP installation.