Skip to main content

Projects & Environments

Rynko uses a two-level organizational hierarchy: Projects and Environments. Understanding this structure helps you organize your work effectively and collaborate with your project members.

Overview

Project (Organization Level)
├── Billing & Subscription
├── Project Members & Roles
├── Asset Gallery
├── Project Analytics (Financial)
└── Environments
├── Environment A
│ ├── Templates
│ ├── API Keys
│ ├── Document Logs
│ ├── Webhooks
│ └── Environment Analytics (Operational)
└── Environment B
├── Templates
├── API Keys
└── ...

Projects

A Project is your organization-level container. It represents a billing entity and controls who has access to your resources.

API Reference

In the API, projects are referred to as teamId for backward compatibility. See the Projects API for details.

What Belongs to a Project

FeatureDescription
Billing & SubscriptionYour plan, document credits, and invoices
Project MembersUsers who can access project resources
Project RolesPermissions for project members (Owner, Admin, Member, Viewer)
Project AnalyticsFinancial metrics like credit usage and cost attribution
Asset GalleryImages and files used in templates (shared across all environments)
EnvironmentsResource containers within the project

Project Roles

RoleCapabilities
OwnerFull access, manage billing, delete project
AdminManage members, create environments, access project analytics
MemberAccess assigned environments, create documents
ViewerView-only access to assigned environments

When to Use Project-Level Features

  • Managing who has access to your organization
  • Viewing billing and subscription information
  • Understanding overall credit usage and costs
  • Creating or managing environments

Environments

An Environment is a resource container within a project. Use environments to isolate different projects, clients, or stages.

API Reference

In the API, environments are referred to as workspaceId for backward compatibility.

What Belongs to an Environment

FeatureDescription
TemplatesDocument templates (PDF and Excel)
API KeysAuthentication keys for API access
Document LogsHistory of generated documents
WebhooksEvent notification subscriptions
Environment AnalyticsOperational metrics like success rates and processing times
API PlaygroundInteractive API testing

When to Use Environments

  • Different Clients: Keep client A's templates separate from client B's
  • Stages: Separate development, staging, and production
  • Departments: Marketing templates vs. Finance templates
  • Access Control: Give specific project members access to specific environments

Environment Examples

Acme Corp (Project)
├── Development Environment
│ ├── Test templates
│ ├── Dev API keys
│ └── Test webhooks
├── Production Environment
│ ├── Production templates
│ ├── Production API keys
│ └── Production webhooks
└── Marketing Environment
├── Campaign templates
└── Marketing API keys

Context Modes

Rynko operates in two context modes depending on your selection:

Project-Only Mode

When you have a project selected but no environment:

  • Available Features: Project settings, project analytics, billing, environment management
  • Hidden Features: Templates, API keys, document logs, webhooks, API playground

Use this mode when you need to:

  • Manage project members
  • View billing information
  • Check project-level analytics (credit usage, cost attribution)
  • Create or switch environments

Project + Environment Mode

When you have both a project and environment selected:

  • All Features Available: Everything from project-only mode plus environment-specific features
  • Context: Operations happen within the selected environment

Use this mode for day-to-day work:

  • Creating and editing templates
  • Generating documents
  • Managing API keys
  • Viewing document logs
  • Setting up webhooks

Selecting Projects and Environments

Using the Header Selector

The header contains two dropdown selectors:

  1. Project Selector (left): Shows your current project and lets you switch
  2. Environment Selector (right): Shows environments in the current project
┌─────────────────────────────────────────────────────────────┐
│ [Acme Corp ▼] / [Production ▼] │
│ ↑ Project ↑ Environment │
└─────────────────────────────────────────────────────────────┘

Switching Projects

  1. Click the project dropdown in the header
  2. Select a different project
  3. Your environment selection resets (enters project-only mode)
  4. Select an environment to continue working

Switching Environments

  1. Click the environment dropdown in the header
  2. Select an environment, or choose "No Environment (Project Mode)" for project-only mode
  3. Features update based on your selection

From the Pages

You can also select projects and environments from their respective pages:

  • Projects Page (/teams): View all your projects, click to select
  • Environments Page (/workspaces): View all environments in current project, click to select

The sidebar navigation adapts to your current context:

Always Visible (Any Mode)

  • Dashboard
  • Projects
  • Environments
  • Asset Gallery (project-scoped)
  • Analytics (Project analytics in project-only mode)
  • Settings
  • Billing

Environment Required

These features only appear when an environment is selected:

  • Templates
  • Template Gallery
  • Document Logs
  • API Keys
  • API Playground
  • Webhooks
tip

If you try to access an environment-required feature without an environment selected, you'll be prompted to select one.


Analytics: Project vs. Environment

Analytics are split into two tabs based on what you're measuring:

Project Analytics

Financial and billing-focused metrics:

  • Wallet: Subscription quota, premium credits, billing breakdown
  • Attribution: Which templates consume the most credits
  • Projections: When you might run out of resources

Access: Available to project Owners and Admins

Environment Analytics

Operational and performance metrics:

  • Health: Success rates, error breakdowns, processing times
  • Insights: Top templates, peak usage times, volume trends

Access: Available in Project + Environment mode to all environment members


API Keys and Environments

API keys are scoped to environments. This means:

  • Each environment has its own set of API keys
  • An API key from Environment A cannot access Environment B
  • When you generate documents via API, they belong to the environment of the API key used

Best Practice

Create separate API keys for:

  • Different stages (dev/staging/prod)
  • Different applications
  • Different access levels

Webhooks and Environments

Webhook subscriptions are environment-scoped:

  • Webhooks in Environment A only receive events from Environment A
  • Events from Environment B go to Environment B's webhooks

This allows you to:

  • Route production events to your production systems
  • Route development events to testing endpoints
  • Keep different projects completely isolated

Document Logs and Environments

Document logs show documents generated within the current environment:

  • Each environment maintains its own log history
  • Filtering and search only applies to the current environment
  • Bulk actions only affect documents in the current environment

Common Scenarios

Setting Up for the First Time

  1. Create your project (done during signup)
  2. Create your first environment (e.g., "Production")
  3. Create templates within the environment
  4. Generate API keys for your application

Onboarding a New Project Member

  1. Go to Project Settings
  2. Invite the new member with appropriate role
  3. They can then access environments based on their role

Separating Development and Production

  1. Create a "Development" environment
  2. Create a "Production" environment
  3. Use separate API keys for each stage
  4. Set up webhooks pointing to appropriate endpoints

Managing Multiple Clients

  1. Create an environment for each client
  2. Keep templates, API keys, and logs isolated
  3. Assign project members to relevant environments

FAQ

Can I move templates between environments?

Not directly. You would need to export the template schema and import it in the new environment.

Can one user belong to multiple projects?

Yes, you can be a member of multiple projects. Switch between them using the project selector.

Who can create environments?

Project Owners and Admins can create new environments.

Are credits shared across environments?

Yes, document credits are at the project level and shared across all environments.

Can I delete an environment?

Yes, project Owners and Admins can delete environments. This permanently removes all templates, logs, API keys, and webhooks in that environment.


Related: Project Management | Settings | API Keys