Quickstart
Get started with Carbon in minutes
Welcome to Carbon
Carbon is an open-source manufacturing platform for vertically integrated manufacturing. It provides a modern, minimal, starting-point for building end-to-end manufacturing systems.
Creating an API Key
To use the API, you need to sign up on Carbon and get an API key. You can also run Carbon locally by following the README.
- Sign up at app.carbon.ms
- Navigate to Settings > API Keys
- Create a new API Key
- Navigate to API Docs to get your environment variables
Creating a Carbon Client with Supabase
npm install @supabase/supabase-jsInitialize the Client
import { createClient } from '@supabase/supabase-js'
const apiKey = process.env.CARBON_API_KEY
const apiUrl = process.env.CARBON_API_URL
const publicKey = process.env.CARBON_PUBLIC_KEY
const carbon = createClient(apiUrl, publicKey, {
global: {
headers: {
"carbon-key": apiKey,
},
},
});Make a request to the API
const response = await carbon.from("employees").select("*");Read the Docs
Read the API Docs or view the source code on GitHub to get started.