Registering the Client
Log in to add to favouritesInstall the delivery api client
If you're using node.js, install contensis-delivery-api in your project:
npm i contensis-delivery-api
Use it in your code:
const { Client } = require("contensis-delivery-api");
Initialise the client
You need the root CMS URL, access token, and project ID to initialise the client:
const ContensisClient = Client.create({
rootUrl: "<cms-url>",
accessToken: "<access-token>",
projectId: "<project-id>",
});