-
Notifications
You must be signed in to change notification settings - Fork 22
DA App SDK
Chris Millar edited this page Jun 27, 2024
·
12 revisions
The Dark Alley App SDK allows you to work with protected Dark Alley content. This allows you to build fully authenticated custom apps for your creators when you have a special use case Dark Alley does not cover out of the box.
- Fullscreen apps
- Library add-ons - (coming soon)
- A site - ex: https://main--geometrixx--aemsites.aem.live
- A page - ex: https://main--geometrixx--aemsites.aem.live/tools/tags.html
- A block - ex: https://main--geometrixx--aemsites.aem.live/blocks/tag-browser
import DA_SDK from 'https://da.live/nx/sdk.js';
export default async function decorate(el) {
const { project, token } = await DA_SDK;
// Do cool stuff
}
Visit: https://da.live/app/aemsites/geometrixx/{branch-name}/tools/tags
For local development, you can use a branch name of local
which will send requests to http://localhost:3000
.