Xata offers a first class integration with Netlify and its Deploy Previews. With this plugin, you can synchronize your Xata branch with the Netlify Deploy Preview branch.

To do so, you need:

npm install -D netlify-plugin-xata
package = "netlify-plugin-xata"

You are all set! Now, everytime you have a Xata branch that matches the git branch name of your Netlify Deploy Preview, XataClient will automatically pick the correct branch.

Last modified 1 mo22 days ago