Skip to content

Workspace & Application

This guide explains how Workspaces and Applications work in Tailor Platform.

Workspace

A Workspace is the top-level container for your Tailor Platform resources.

Creating a Workspace

Using the SDK CLI:

bash
# Create a new workspace
npx tailor-sdk workspace create --name my-workspace --region us-west

# List your workspaces
npx tailor-sdk workspace list

Or create one through the Console.

Workspace Regions

Workspaces are deployed to specific regions:

RegionLocation
us-westUnited States (West)
ap-northeastAsia Pacific (Tokyo)

Application

An Application represents a complete API deployment within a workspace.

Application Configuration

Configure your application in tailor.config.ts:

typescript
import { defineConfig } from "@tailor-platform/sdk";

export default defineConfig({
  application: {
    name: "my-app",
    subgraphs: ["tailordb", "pipeline", "auth"],
  },
});

Subgraphs

Subgraphs define which services your application uses:

  • tailordb - Database service
  • pipeline - Custom resolvers and business logic
  • auth - Authentication and authorization

Deploying Applications

Deploy your application using the SDK CLI:

bash
npm run deploy -- --workspace-id <your-workspace-id>

Next Steps

  • Services - Learn about available platform services
  • TailorDB - Set up your database
  • Auth - Configure authentication