Zapier

How to integrate Zapier with Cloudsmith

5068

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 Entitlements

The Cloudsmith API gives you full control of repository entitlements; allowing you to create, destroy and distribute tokens when you detect an event. Just create a Zap, configure your API Key, and you'll be all set.

Setup

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

568

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 currently 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:

840

Zapier Create Entitlement Token Fields

Fields

Field NameDescriptionRequired
Token NameA name for the Token within the repository
Repository OwnerThe username or organisation name that owns the repository
RepositoryThe repository identifier (also called the slug)
Token StringA string for the token itself. If one is not provided, a random string will be generated.
Is ActiveA boolean defines if the token is enabled or disabled
Valid FromThe start date that the token is valid from
Valid ToThe end date that the token is valid until
Limit Number of DownloadsThe maximum number of downloads that the Token allows
Limit Number of ClientsThe maximum number of clients (Unique IP addresses) allowed by the token
Limit Package QueryThe package-based search query to apply to restrict downloads. See Searching / Filtering for further details.
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.

Disable Entitlement Token

The Disable Entitlement Token action has three required fields:

843

Zapier Delete Entitlement Token Fields

Fields

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

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)