Cloudsmith

Cloudsmith

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Cloudsmith to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync your Cloudsmith repositories, packages, entitlements, webhooks, vulnerability scans, audit log, members and teams.

Create an API key in Cloudsmith under Account settings → API settings. The key inherits your own access, so use a key from a user who can see every repository you want to sync. The workspace is the slug in your Cloudsmith URLs, for example acme in https://cloudsmith.io/~acme/.

Configuration

OptionTypeRequired
API keypasswordYes
WorkspacetextYes

Linking Cloudsmith to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Cloudsmith
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
repositories

A repository in the workspace: the container that packages are pushed to and installed from.

Full refresh
packages

A package (artifact) stored in a repository, with its version, size, download count and synchronisation status.

Incremental, Full refreshuploaded_at
entitlements

An entitlement token for a repository: a download credential with its own usage limits and counters. The token value itself is never synced.

Full refresh
webhooks

A webhook configured on a repository, including the events it fires on and the delivery health of its most recent request. The destination URL and request-body templates are not synced, since either can embed a delivery credential.

Full refresh
vulnerabilities

The result of a vulnerability scan of a package in the workspace, with the number of findings and the highest severity found.

Full refresh
audit_log

An audit log entry for the workspace: who did what, to which object, and when. Availability depends on your Cloudsmith plan.

Full refresh
members

A member of the Cloudsmith organization, with their role, team memberships and login activity.

Full refresh
teams

A team within the Cloudsmith organization. Teams group members so repository privileges can be granted in bulk.

Full refresh