Skip to content

03 Quick Start Guide

Brady Mitchell edited this page Apr 22, 2024 · 3 revisions

Quick Start Guide

1. Import the Provided Functions

Add import for the function you need from the Module Exports.

// ESModule import (preferred).
import { getIntegration } from '@bcgov/citz-imb-sso-css-api';

// CommonJS import.
const { getIntegration } = require('@bcgov/citz-imb-sso-css-api');

Example:

import { getIntegration } from '@bcgov/citz-imb-sso-css-api';

// Log integration details.
console.log(await getIntegration());

2. Add Environment Variables

Add the required environment variables from the Environment Variables section.


Return Home
Previous Page - Installing the Package
Next Page - Environment Variables