# M1-LINK Configuration hr The configuration attribute of the LINK Widget is a JSON Object as described below widget_config.json { "access_key": "<>", "host_name": "<> OR <>", "datarequest_id": "<>", "branding": { "styles": { "primary_dark": "#094670", "primary_light": "#FFFFFF", "font_family_url": "string", "font_family": "string", "light_text": "string", "dark_text": "string", "light_background": "string", "dark_background": "string", "focus_light": "string", "focus_dark": "string", "isDark": false } }, "options": { "display_profile": true, "allow_close_widget": true, "show_assist_mode": true } } ## Properties **Required Fields:** Following are the required fields in widget configuration. | Property | Type | Description | | --- | --- | --- | | `access_key` | `string` | Your API Key | | `host_name` | `string` | Host Name for the environment. | | `datarequest_id` | `string` | Unique Identifier for the data request. | ## Styles | Property | Type | Description | Default Value | | --- | --- | --- | --- | | `primary_dark` | `string` | Primary dark color. | `#186793` | | `primary_light` | `string` | Primary light color. | `#2e9ccb` | | `font_family_url` | `string` | URL for font-family. | `https://fonts.googleapis.com/css2?family=Open+Sans&family=Quicksand:wght@300&display=swap` | | `font_family` | `string` | Font family to be used. | `"Quicksand", sans-serif` | | `light_text` | `string` | Light mode text color. | `#ffffff` | | `dark_text` | `string` | Dark mode text color. | `#000000` | | `light_background` | `string` | Light mode background color. | `#f5f5f5` | | `dark_background` | `string` | Dark mode background color. | `#333333` | | `focus_light` | `string` | Light mode focus color. | `#2e9ccb` | | `focus_dark` | `string` | Dark mode focus color. | `#186793` | | `isDark` | `boolean` | Determines if dark mode is enabled. | `false` | ## Options Settings to customize the behavior and appearance of the MeasureOne Link module. | Property | Type | Description | Default Value | | --- | --- | --- | --- | | `display_profile` | `boolean` | Whether to display the profile screen on initialization. | `true` | | `allow_close_widget` | `boolean` | Whether to display the close button in the widget. | `true` | | `show_assist_mode` | `boolean` | Whether to show assist mode. | `true` |