Skip to main content

Overview

To authenticate with Cloudsmith, you need:
  1. API Key - A Cloudsmith personal API key, or the API key of a service account in your workspace.
This guide will show you how to get one.

Prerequisites

  • A Cloudsmith account. You can sign up on the free Core plan.
  • To create a service account, you need the Owner or Manager role in the workspace.

Step 1: Create an API key

A personal API key acts as your user. A service account API key is not tied to a specific user. Both work with Nango. Personal API key
  1. Log in to Cloudsmith.
  2. Click your user icon in the top right corner, then click Personal API keys. If asked to confirm access, enter your password and click Continue.
Personal API keys in the Cloudsmith user menu
  1. Click Create API key, then click Create API key again in the dialog.
Create API key button on the Cloudsmith Personal API keys page
  1. Click the copy button next to the new key and store it somewhere safe.
New Cloudsmith personal API key with its copy button Service account API key
  1. In your workspace, go to Accounts -> Services.
  2. Click Create service, enter a name, keep the Member role and click Create service.
Create service form on the Cloudsmith Services page
  1. Click the copy button next to the service account’s API key and store it somewhere safe.
New Cloudsmith service account API key with its copy button

Step 2: Enter your API key in the Connect UI

  1. Open the form where you need to authenticate with Cloudsmith.
  2. Enter your API Key in the designated field.
  3. Submit the form, and you should be successfully authenticated.
Cloudsmith connection form in Nango's Connect UI You are now connected to Cloudsmith.