Asset Bank integration for Uniform DXP
- Overview image assets from your Asset Bank account
- Use image assets for Uniform Assets parameter
- A Uniform team and project
- An Asset Bank account with Enterprise subscription and Asset Transformer Module
- Read the integration documentation
- Go to Asset Bank Dashboard => System => API
- Click
Add new OAuth2 credentials
- Update Name and Secret
- Update Redirect URLs:
<VERCEL_SITE_URL>/api/auth/callback/assetbank.app
(e.ghttps://uniform-mesh-asset-bank.vercel.app/api/auth/callback/assetbank.app
) - Click
Save
Asset Bank integration requires a few environment variables:
- ASSET_BANK_ACCOUNT_URL - your Asset Bank account URL (e.g.
https://company.assetbank.app/assetbank-company
) - NEXTAUTH_URL (optional) - your Vercel site URL (e.g.
https://asset-bank.vercel.app
) - NEXTAUTH_SECRET - secret key for NextAuth to sign and encrypt JWT tokens and cookies
- AUTH_APP_ID - OAuth application ID for Asset Bank authentication
- AUTH_APP_SECRET - OAuth application secret for Asset Bank authentication
- Fork this repository (optional)
- Create Vercel project based on the repository
- Configure Vercel environment variables (see the list above)
- Go to Uniform dashboard => Your team => Settings => Custom Integrations
- Click
Add Integration
and copy-paste manifest frommesh-manifest.stable.json
- Replace
http://localhost:4064
in the manifest with previously deployed Vercel's site URL - Click
Save
To run the integration locally:
- Install dependencies:
npm install
- Copy
.env.example
to.env
and define required environment variables - Start the development server:
npm run dev
- Register a custom integration for your team using manifest from
mesh-manifest.local.json
- Register a separate Asset Bank OAuth app, use
http://localhost:4064/api/auth/callback/assetbank.app
for Redirect URLs