Skip to main content

Getting Started

Authentication

You can create a Storefront token in your developer settings.

This token will be used to authenticate your requests to the Storefront API.

Storefront token

Vercel

The best way to get started is with Vercel and Next.js. Vercel is a cloud platform that makes it easy to deploy websites and applications. Next.js is the React-based framework that Vercel is built on.

You can fork our open source project to get started:

Deploy with Vercel

Once you have forked the repo, you can follow the instructions in the README to learn how to run the project locally and deploy.

The only things you will need to configure are the default environment variables.

Static page

If you decide to build your own frontend, you can simply make fetch requests directly to the Fourthwall API to get the information you need.

const res = await fetch("https://storefront-api.fourthwall.com/v1/collections?storefront_token=<YOUR_STOREFRONT_TOKEN>");

The full set of endpoints available to you can be found in the Storefront API reference.