# Variable SISENSE_CONTEXT_CONFIG_TOKEN

const SISENSE_CONTEXT_CONFIG_TOKEN: InjectionToken< SisenseContextConfig >

Token used to inject SisenseContextConfig into your application

# Example

Example of importing SdkUiModule and injecting SisenseContextConfig into your application:

export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
  url="<instance url>" // replace with the URL of your Sisense instance
  token="<api token>" // replace with the API token of your user account
  defaultDataSource: DM.DataSource,
};

@NgModule({
  imports: [
    BrowserModule,
    SdkUiModule,
  ],
  declarations: [AppComponent],
  providers: [
    { provide: SISENSE_CONTEXT_CONFIG_TOKEN, useValue: SISENSE_CONTEXT_CONFIG },
  ],
  bootstrap: [AppComponent],
})