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.
Connect the Optimizely CMP web DAM your website already uses, and its assets appear in the Lolly Work catalog. Optimizely stays the owner of those assets. If you turn on publishing, finished Lolly exports can also go the other way: into CMP, carrying their Content Credentials onto the website.
Onboarding
- Scope. Identify the website workflow, folders or labels and Lolly Work groups. Keep CMP authoritative for its web assets. Start read-only; enable
publishonly when the outbound workflow has been separately agreed. - Connection. Register your app, obtain the sealed OAuth credential described below and follow the four-step connection. Inspect public, archived and expired samples before enabling the source.
- Tenant check. Confirm the documented endpoints, fields and download bytes on your tenant using Verify and the tenant-check process. Test member access in one Lolly task. If publishing is needed, separately qualify the signer, grant and upload behaviour in Publishing.
What you need from Optimizely CMP
- An OAuth2 app registered in your CMP instance (one app per instance) with a refreshable token. Grant it read access to the DAM, plus upload and create only if you will publish out.
- The client id, client secret and the refresh token your instance issues against them are yours. Nothing ships with Lolly Work.
Credential shape
One sealed OAuth credential, pasted rather than captured:
{ "clientId": "…", "clientSecret": "…", "refreshToken": "…" }lw providers credential acme-cmp # prompts for the JSON; never argv, never shell historyGet the refresh token by running CMP's own documented OAuth2 authorization-code flow once by hand against your app. lw providers auth refuses this kind; see OAuth sources.
instance.json / lw providers add
{
"id": "acme-cmp",
"kind": "optimizely-cmp",
"label": "Acme Web DAM",
"options": { "publish": true },
"exposure": { "groups": ["web", "brand"], "requireApproved": true }
}options.publish: trueturns on publishing out. It is off by default, and a source without it is read-only.options.baseUrlandoptions.tokenUrloverride the default hosts; older tenants useapi.welcomesoftware.com.exposure.requireApproved: truetreats CMP assets that areis_publicand notis_archivedas approved. CMP'sexpires_atimports as an availability window.- A folder name or a label can scope an
includeSectionsslice.
Verify
lw providers preview --kind optimizely-cmp --options '{}' # dry run, nothing stored
lw providers health acme-cmpoauth token refresh failed (401) means the client id, secret or refresh token is wrong, or the grant was revoked: capture the credential again. optimizely-cmp api 401 means the token exchange worked but the instance refused the access token.
The CMP endpoint paths, asset field names, token endpoint and download host come from CMP's documentation and are not yet confirmed against a live tenant. Confirm them with a preview on your own tenant before you rely on this source.
Publishing Lolly exports out
With publish: true and an owner grant of catalog.provider.publish:
lw providers publish acme-cmp --in ./summit-badge.png --name "Summit Badge"Only exports Lolly made can be published. The server checks that the file's Content Credential carries Lolly's export assertion, so a federated or catalog asset can never be pushed out, and the instance needs an export signer (c2pa). Each publish is audited with the export's provenance chain. The upload request and response formats are modelled on CMP's documentation and are not yet confirmed against a live tenant.
Notes / limits
- Signed, short-lived download links, fetched on each request and pinned to the CMP and Welcome hosts.
- The only source that accepts published exports.
Off-boarding
Do not run cutover against this source; keep its ext/* identities and the website's dependencies under CMP's authority.
You can self-host Lolly Work with S3 storage while retaining the CMP connection. That deployment choice does not migrate CMP or replace its web delivery. If retiring CMP is a separate project, obtain and verify a vendor export and plan the website's links and publishing changes separately. Leave a DAM records the connector limits and the supported exit paths for other sources.
Compare offboarding destinations, starting with open-source services you can run. Each route remains subject to this source's limits.