Developers

Developers

Docs, SDKs and a CLI that does the boring parts. Your first request takes about two minutes.

SDKs
TypeScript, Python, Go
CLI
lattice deploy
API
REST and streaming
Status
All systems normal
Quickstart

Your first deploy, in four commands.

Copy each line into a terminal. Nothing else to install.

Follow the quickstart
  1. Install the CLI

    npm i -g lattice. One binary for macOS, Linux and Windows.

  2. Log in

    lattice login opens your browser once, then remembers you.

  3. Create a function

    lattice new orders starts from a template you pick.

  4. Deploy

    lattice deploy is live in every region in about 20 seconds.

Pick your language.

Each SDK is generated from the same API, so the names match everywhere.

TypeScript

# install
npm i @lattice/sdk

const db = lat.db("main")
await db.query("select 1")
Read the TypeScript guide

Python

# install
pip install lattice

db = lat.db("main")
db.query("select 1")
Read the Python guide

Go

# install
go get lattice.dev/sdk

db := lat.DB("main")
db.Query(ctx, "select 1")
Read the Go guide

Stuck on something?

Engineers answer in the community forum, usually within the hour.

Ask the community