To use the ExternalDatabaseConnections API, install the @wix/data
package.
To install the package, follow the instructions below based on your development environment.
When developing with:
npm install @wix/data
or
yarn add @wix/data
When developing CLI or self-hosted Wix apps, as well as headless apps or sites, run the following command:
npm install @wix/data
or
yarn add @wix/data
To import the package in your code:
import { externalDatabaseConnections } from "@wix/data";