Database

Get started with the database.

API deployment required

To enable communication between your Plasmo extension and the server in a production environment, the web application with tRPC API must be deployed first.

As browser extensions use only client-side code, there's no way to interact with the database directly.

Also, you should avoid any workarounds to interact with the database directly, because it can lead to leaking your database credentials and other security issues.

You can safely use the API and invoke procedures which will run queries on the database.

To do this you need to set up the database on the web, server side and then use the API client to interact with it.

Learn more about its configuration in the web part of the docs, especially in the following sections:

Last updated on

On this page

Ship your startup everywhere. In minutes.Get TurboStarter