Skip to main content
function initialize(config: Config): Promise<void>;
Initializes the core package. Must be called before using any other functions.

Parameters

ParameterTypeDescription
configConfigThe configuration for the core package.

Returns

Promise<void>

Example

await initialize({
  projectId: "your-project-id", // Your project ID from the CDP Portal
});