Skip to main content

Vercel

Vercel is a cloud platform for static sites and serverless functions. It is a great platform for hosting web applications using MotherDuck Wasm SDK. Vercel typically provides two ways to integrate with 3rd party services :

  • Native integration : create a new account on the 3rd party service and connect it to Vercel. Billing and setup is managed by Vercel.
  • Non-native integration (connectable accounts) : connect existing 3rd party accounts to Vercel.
info

Vercel supports Native Integration with MotherDuck, support for non-native integration is coming soon.

Native Integration

To kickstart the integration, you can either start from :

How to install

  1. To install the MotherDuck Native Integration from the Vercel Marketplace: 2 Navigate to the Vercel Marketplace or to the Integrations Console on your Vercel Dashboard.
  2. Locate the MotherDuck integration.
  3. Click Install.
  4. On the Install MotherDuck modal, you are presented with two plans options. modal1
  5. On the next modal, you would be prompt to give your database a name. Note that a new installation will create a new account and database within a new MotherDuck organization. modal2
  6. You are all set! You have now a new account and database within a new organization. Plus, tokens (access token, and read scaling token) are automatically generated and stored in Vercel's environment variables. model3

You can head to Getting Started section on the integration page to have more information on how to use the integration. model4

Project templates

Learn more about how to setup your projects by using the following templates:

  • MotherDuck's Vercel template : A fully-fledged template that includes a Next.js project and a MotherDuck WASM setup with sample data integration and an interactive data visualization example.
  • MotherDuck's Vercel template minimal : a minimal template which includes a Next.js project and MotherDuck Wasm setup with some sample data integration.