Lingk Domain Model
At its core, a domain model creates a web of interconnected objects. Each object, or entity, within this model is representational and incorporates both behavior and data. Lingk has four main entity types: user, organization, workspace, and Environment. This guide will walk you through each of these entities, as well as their relation to each other.
A user is anyone with a Lingk account. Users can either be invited to an existing organization, or sign up individually. If a user has signed up individually, a new organization is automatically created. In any case, an existing user can always create additional organizations or be invited to other existing organizations.
An organization serves, first and foremost, as a way to group users. The organization also links these users to a billing entity, so subscriptions and invoices are always tied to the organization, not your user.
Lingk uses a role-based access model, meaning that you can invite users to join your organization and those users will have different levels of access based on their organization role.
A workspace is a child of the organization—it acts as a container for your recipes and any settings related to those recipes. Workspaces allow you to separate your connectors and recipes according to the structure of your projects or services. You can purchase as many workspaces as you need to best structure your data.
Environments are entities within a workspace that allow you to create and maintain multiple versions of the workspace-specific connector credentials and configuration, and make changes to them in isolation. By default, each workspace has one environment, called default. Additionally, you can create additional environments to align with your deployment processes. Environments encourage reusable recipes by enabling you to deploy recipes to different environments without specifying credentials for the connectors.
Something to note is that you have to specify an environment in order
- Getting started with Lingk
- Build your first recipe
- Learn about Lingk connectors