Lolly Beta
Launch App

ManageShared assets and provider connections

Connect an asset source

Note: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.

Your logos, photos and approved files probably live somewhere already: a Nextcloud server, a bucket, a Google Drive folder or a DAM. Connect that place to Lolly Work as a source, and its files appear in the Lolly Work catalog, ready to pick inside Lolly tools without downloading and uploading them again.

An existing DAM can remain the source of record throughout this workflow. Use Lolly with your existing DAM explains the division of responsibilities, and SUSE's Brandfolder experience records successful use during adoption. Connection, source-field qualification and a later migration are separate decisions.

The source stays in charge. Lolly Work reads from it and never edits it, and you decide which groups see which files. Optimizely CMP is the one source that can also receive finished exports, and only when you turn that on. Sending finished files to a bucket, a WebDAV folder, Brandfolder or Cloudinary is a separate feature with its own credentials: organisation delivery destinations. Penpot is a design-system source: its tokens feed a design system.

When you want the files in Lolly Work's own storage, the same connection copies them across and checks every file. That is the exit, covered in Leave a DAM.

A source feeds the Lolly Work catalog as read-only references. Exposure decides which groups see each file in Lolly tools, and materializing copies the files into your own store.A source feeds the Lolly Work catalog as read-only references. Exposure decides which groups see each file in Lolly tools, and materializing copies the files into your own store.Open this in Diagram Builder

Choose a source

Open sources lead the table, then the cloud drives, then the DAMs.

SourceKindCredentialSetupSearchApprovalAvailability datesExitUnconfirmed live
WebDAV / Nextcloudwebdavlogin and app password, or bearerguidednononea custom property you nameyespaths and property names
S3-compatibles3access key and secretform or lwnononenoneyesnone listed
Git manifestgitread token, none if publicform or lwnononenoneyesnone listed
Penpotpenpotpersonal access tokenform or lwboardsnonenonedesign-system sourceRPC names
DropboxdropboxOAuth, lw providers authlwfile namesnonenoneyesnone listed
Google DrivegdriveOAuth, browser or lwguidedfile namesnonenoneyesnone listed
Microsoft 365o365OAuth, lw providers authlwwhole drivenonenoneyesnone listed
BrandfolderbrandfolderAPI keyform or lwyesnativenativeyesavailability field names
Optimizely CMPoptimizely-cmpOAuth, pastedform or lwyesnativenativekeep: publishes outendpoints and fields
Image RelayimagerelayOAuth, pastedform or lwyesnonea field you mapyesendpoints and fields
CantocantoOAuth, pastedform or lwyesnative statesa field you mapyesendpoints and fields
Acquia DAM / Widenacquia-damAPI tokenform or lwyesnative statusesnativeyesendpoints and fields
IntelligenceBankintelligencebankAPI keyform or lwyesnative workflow statesnativeyesendpoints and fields
CloudinarycloudinaryAPI key and secretform or lwyesa tag you choosefields you mapyesaccess, metadata and fidelity
Orange Logicorange-logicclient credentials or bearerform or lwyesa field you choosefields you maprenditions onlyfields, auth and storage hosts

How to read the columns:

mock is a synthetic source for local development and has no guide.

DAM onboarding and offboarding

Each supported DAM has its own integration page with setup, qualification and exit limits. Onboarding can end with a working connection and the DAM still authoritative. Offboarding is optional and needs separate acceptance checks.

Use the offboarding path chooser to start with open-source services you can run: storage managed by Lolly Work, Nextcloud or Git. It also explains the separate export-and-upload route to Google Drive, OneDrive / SharePoint or Dropbox. The S3 storage strategy covers the Lolly Work server, PostgreSQL, blob storage, backups and the checks before a supported cutover.

Connect a source in four steps

Open Assets & tools > Providers at /admin#/providers and choose Connect a source. The WebDAV and Google Drive cards open a guided connection, whose guide walks through its own buttons. Every other card opens the advanced form, which follows the four steps below. The same steps run through the lw command line.

  • Try it first. Test connection (or lw providers preview) checks the credential and maps a sample of files. Nothing is saved.
  • Create the source, disabled. Create source (or lw providers add) saves the settings. Nothing reaches the catalog yet.
  • Seal the credential. An owner chooses Set key (or lw providers credential).
  • Sync, check, then enable. Sync (or lw providers sync) fetches the listing. Check the count and the notes, then an owner chooses Enable (or lw providers enable).
lw providers preview --kind s3 --options '{"bucket":"acme-brand"}'   # dry run, nothing stored
lw providers add acme-s3 --kind s3 --label "Acme bucket" --options '{"bucket":"acme-brand"}'
lw providers credential acme-s3   # hidden prompt; never argv, never shell history
lw providers sync acme-s3
lw providers enable acme-s3       # owner-only
Note: Who can do each step

Creating, syncing and deleting a source needs catalog.provider.manage. Setting a credential and enabling a source need catalog.provider.credential, which owners hold. An admin can prepare and sync a source, then hand the credential and the enable to an owner.

The lw CLI page lists every lw providers command.

Read a preview

A preview builds a throwaway source from your flags, checks its health and maps up to ten files from the first page. Then it throws the record away: no source is created, so a wrong option costs you a retry. The credential is prompted hidden, even for a dry run. Press enter for a source that needs none, such as a public git manifest.

health ok - canto
mapped sample: 10 of 100 on the first page
  id                                name                        type      tags                              formats
  ext/preview/image:AB12C           Summit Keynote Background   image     provider:preview Backgrounds la…  png

--shape answers a different question and returns no sample. It reports the call the driver made and the field labels and value types the service returned, compared with the labels the driver reads. It never prints a value, so you can send the output to someone else. The seven drivers whose field names still come from vendor documentation support it: webdav, canto, imagerelay, intelligencebank, acquia-dam, cloudinary and orange-logic. Add --remote-id <id> for a second report on the per-file detail call, which carries the download link; imagerelay, intelligencebank, acquia-dam, cloudinary and orange-logic make that call. Check a source on your own tenant explains how to read the report.

Rules every connection follows

Warning: A shared credential does not carry each member's permissions

Set the exposure groups for the people who should see the files.

Settings every source shares

Each guide shows its own options. These blocks work the same way for every kind:

SettingWhat it does
exposure.groupsMember groups that see the files. Absent or * means every member.
exposure.requireApprovedFederate only files the source marks approved (see the Approval column).
exposure.includeSections, exposure.excludeTagsKeep only these sections; drop files carrying these tags.
exposure.tierThe catalog tier stamped on each file.
mapping.typeMap, mapping.defaultTypeMap the source's own types to catalog types.
mapping.sectionTagsFold sections and folders into tags (default true).
mapping.hiddenTagsLabels these files never show, as exact tags or prefix* patterns. The files stay in the catalog.
mapping.availabilityFieldsThe source fields an availability window reads, for sources that keep dates in custom fields.
sync.ttlSecondsHow long a synced listing is served before a background refresh (default 300).
sync.maxAssetsThe most files one sync federates (default: the instance limit, 100,000). A sync that stops there is marked as truncated, with a note.

A source written into instance.json under catalogProviders is config-managed. Lolly Work creates it at boot and the console shows it read-only ("via instance.json"). Its credential comes from the environment variable its credentialRef gives. Change it in your deployment and redeploy.

One folder for a partner programme. Provider folders give one folder of a connected source, and everything inside it, to a programme or one of its companies. Each kind reports folders in its own way: S3 and Dropbox by key prefix, WebDAV and OneDrive or SharePoint by directory, Brandfolder by section, and Google Drive only with recursive on.

When a vendor credential expires on a schedule, record the date: lw providers credential <id> --expires 2026-12-01. From 14 days before that date, lw providers list and the console's source row show how many days remain.

OAuth sources

Every OAuth source here uses an app you register on the platform. The sealed credential is the same JSON for every OAuth kind:

{ "clientId": "…", "clientSecret": "…", "refreshToken": "…" }

Only the way you capture the refresh token differs, and that splits the kinds in two.

lw providers auth captures the whole credential for these three:

lw providers add acme-x --kind <dropbox|gdrive|o365> --label "…" --options '{…}'
lw providers auth acme-x        # prompts for client id and secret, runs a loopback PKCE consent
lw providers enable acme-x      # owner-only
  1. It prompts for your app's client id and, unless the app is public (PKCE only), its client secret. Neither goes on the command line or into shell history.
  2. It prints the platform's consent URL. Open it in a browser and approve; the code comes back to http://127.0.0.1:<port> and is exchanged for a refresh token.
  3. It stores {clientId, clientSecret?, refreshToken} through the same write-only credential endpoint as an API key. Access tokens are never stored: each process mints them from the refresh token and keeps them in memory.

Grant the app read-only scopes plus offline access, as each guide lists. Revoking the grant on the platform makes the next refresh fail; run lw providers auth again to re-consent.

Google Drive also has a browser consent journey for sources created through the guided setup. Its redirect URI is shown in the console and is separate from the CLI's loopback route.

Their authorize endpoints are not yet confirmed against a real tenant, so Lolly Work registers no consent flow for them and lw providers auth refuses these kinds with the remedy. Put the credential in with lw providers credential, which works for every kind:

lw providers add acme-canto --kind canto --label "…" --options '{…}'
lw providers credential acme-canto   # prompts for the JSON; never argv, never shell history
lw providers enable acme-canto       # owner-only

The refresh token comes from the vendor's own documented OAuth2 authorization-code flow, run once by hand against the app you registered:

  1. Register an app under your own contract in the vendor's console, with a redirect URI you control. In Canto, an admin creates the App ID and Secret under Settings > Configuration Options > API Keys.
  2. Run the vendor's documented authorize step for that app, asking for read scopes plus offline access, and collect the authorization code.
  3. Exchange that code for a refresh token at the vendor's documented token endpoint.
  4. Paste clientId, clientSecret and refreshToken into lw providers credential <id>.

The vendor's API documentation is the source of record for steps 2 and 3. From then on everything works as for the flow kinds. A tenant check that confirms a kind's authorize and token endpoints moves the kind into the section above.

Instance settings two features need

Leave a platform, or check one first

For contributors: how these guides are checked

The Lolly Work repository's tests/provider-config-contract.test.ts treats these pages as a contract, so a driver change that outruns its guide fails CI there. It checks that:

  • every shipped kind has a guide with the required headings, whose instance.json example parses through parseConfig and whose options keys match the driver;
  • only the one kind that can publish out has a ## Publishing section;
  • every DAM kind has an ## Off-boarding section and a row in Leave a DAM;
  • every lw command on any page exists in cli/lw.ts, with lw providers auth <id> allowed only for a kind oauthFlowFor registers a consent flow for;
  • every driver hardened for a tenant check has the maintainer runbook its error messages name, kept beside the drivers in server/src/catalog/providers/live-verify/.