Integrating Zapier

How to integrate Zapier with Cloudsmith

Cloudsmith provides a Zapier integration to manage your entitlement codes; allowing you to hook up almost any shopping cart to enable Cloudsmith as your digital asset distribution provider.

No Code Uploading

The Cloudsmith CLI gives you full control when connecting to any CI/CD process, allowing you to upload any of our support formats or query your repositories. Just configure your API Key, install the CLI, and you'll be all set.

Setup

The Cloudsmith Zapier Integration uses your Cloudsmith API Key for authentication:

Zapier Cloudsmith API Key setup

You can get your Cloudsmith API key from your user settings page when you have logged into the Cloudsmith website, or by using the Cloudsmith CLI cloudsmith login command.

Actions

The Cloudsmith Zapier Integration provides two actions:

  • Create Entitlement Token
  • Disable Entitlement Token

Please see Entitlements for more information on Cloudsmith Entitlement Tokens.

Create Entitlement Token

The Create Entitlement Token action has three required fields:

Zapier Create Entitlement Token Fields

Fields

Field NameDescriptionRequired
Token NameA name for the Token within the repositoryYes
Repository OwnerThe username or organisation name that owns the repositoryYes
RepositoryThe repository identifier (also called the slug)Yes
Token StringA string for the token itself. If one is not provided, a random string will be generated.No
Is ActiveA boolean defines if the token is enabled or disabledNo
Valid FromThe start date that the token is valid fromNo
Valid ToThe end date that the token is valid untilNo
Limit Number of DownloadsThe maximum number of downloads that the Token allowsNo
Limit Number of ClientsThe maximum number of clients (Unique IP addresses) allowed by the tokenNo
Limit Package QueryThe package-based search query to apply to restrict downloads. See Searching / Filtering for further details.No
Limit Path QueryThe path-based search query to apply to restrict downloads.The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.No

Disable Entitlement Token

The Disable Entitlement Token action has three required fields:

Zapier Delete Entitlement Token Fields

Fields

Field NameDescriptionRequired
Repository OwnerThe username or organisation name that owns the repositoryYes
RepositoryThe repository identifier (also called the slug)Yes
Entitlement IdentifierThe unique identifier for a token within a repository (see Entitlements for further information on tokens and identifiers)Yes