> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/print-partnerships/llms.txt > Use this file to discover all available pages before exploring further. # initialize Initializes the Partnership SDK. ## Usage ```javascript (async () => { const api = await Canva.Partnership.initialize({ apiKey: "", autoAuthToken: "", container: document.getElementById("container"), locale: "fr-CA", }); })(); ``` ## Parameters | Parameter | Type | Required | Description | | -------------------- | ------------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `opts` | object | Yes | Options for initializing the SDK. | | `opts.apiKey` | string | Yes | The integration's [Partner API key](https://www.canva.dev/docs/print-partnerships/concepts/credentials/). | | `opts.autoAuthToken` | string | No | The integration's authAuthToken. | | `opts.container` | `HTMLElement` | No | The element where the SDK renders the product catalog and the Canva editor. | | `opts.locale` | string | No | The [language code](https://www.canva.dev/docs/print-partnerships/reference/languages/#supported-languages-for-the-product-catalog) the SDK uses to render the product catalog and the Canva editor. If not set, the SDK determines the locale from the user's browser settings. If set, the SDK ignores the user's browser settings. | ## Returns | Parameter | Type | Required | Description | | ------------------ | -------- | :------: | ------------------------------------------------------------------------------------------------------- | | `api` | object | Yes | API methods for defining the behavior of the integration. | | `api.showCatalog` | function | Yes | Refer to [`showCatalog`](https://www.canva.dev/docs/print-partnerships/javascript-api/show-catalog/). | | `api.createDesign` | function | Yes | Refer to [`createDesign`](https://www.canva.dev/docs/print-partnerships/javascript-api/create-design/). | | `api.editDesign` | function | Yes | Refer to [`editDesign`](https://www.canva.dev/docs/print-partnerships/javascript-api/edit-design/). |