For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Beta

Pull components into a Metadata project

Copy components that you built in Rippling into a Metadata project with the Rippling CLI, or refresh your project files from Rippling.

Use with AI:Rippling AI ChatGPT Claude Cursor

Use rippling project pull to copy components from a Rippling company into your project as TypeScript. Pull components that you built in the Rippling UI, or refresh the files for components that your project already has. You can also start a project from a package.

The command copies component settings, such as an object's fields and a list view's columns. Records stay in the company that you pull from.


Requirements​

  • Get access to the Developer Program closed beta.
  • Install the latest beta Rippling CLI and sign in.
  • Install Node.js LTS and pnpm.
  • Find the CLI context for the company that has the components, with rippling config context list. The context needs permission to read the components. The commands below use YOUR_CONTEXT as the context name. Replace it with yours.
  • Open a Rippling project. To create an empty one, run rippling project init --name my-project.

Pull components into your project​

From the project root, preview the pull:

rippling --context YOUR_CONTEXT project pull --dry-run

The CLI shows an interactive list. Select a component type, then search by name or API name and select the components to pull. To pull another type, select Choose another type. When you finish, select Done. The CLI lists the components and files that it would add and leaves your project unchanged.

Then run the pull:

rippling --context YOUR_CONTEXT project pull

The CLI adds a TypeScript file for each new component, lists it in rippling.manifest.ts, and pulls the components that it depends on.

If a component is already in your project and differs from the version in Rippling, such as a list view that you renamed in the Rippling UI, the CLI shows the file changes and asks whether to overwrite your file. The default answer is No, which keeps your file. Confirming replaces the file and discards any local edits in it, so back up edits that you want to keep first. Components that match Rippling stay as they are.

To preview a replacement without writing files, add --dry-run --overwrite. To replace files without a prompt, such as in a script, add --overwrite --yes.

After the pull:

  1. Review the files that the CLI listed.
  2. If the CLI added Function dependencies, review package.json and run pnpm install.
  3. Run rippling --context YOUR_CONTEXT project validate to check the project.

Start a project from a package​

To create a project from a package that you own, run this command with the Developer account context that owns the package:

rippling --context developer-account project pull \
--package-key equipment_requests_demo \
--output equipment-requests-from-package

The CLI creates the project from the latest published version and installs its dependencies. Use a new or empty output directory. To create a package, see Package and publish Metadata components.

FlagWhat it sets
--package-keyThe package to copy from.
--versionAn exact version number, such as 0.1.0.
--version-idAn exact version ID.
--outputThe directory to create. It defaults to the package key.
--skip-installSkips installing dependencies.

--version and --version-id can select a draft. If you skip the installation, review any Function dependencies in package.json and run pnpm install.


See also​