// Module included in the following assemblies: // // * web_console/dynamic-plug-ins.adoc :_content-type: PROCEDURE [id="adding-new-extension-dynamic-plugin_{context}"] = Adding a new extension to your plug-in You can add extensions that allow you to customize your plug-in. Those extensions are then loaded to the console at run-time. . Edit the `console-extensions.json` file: + [source,json] ---- [ { "type": "console.flag", <1> "properties": { "handler": { "$codeRef": "barUtils.testHandler" } <2> } }, { "type": "console.flag/model", "properties": { "flag": "EXAMPLE", "model": { "group": "kubevirt.io", "version": "v1alpha3", "kind": "ExampleModel" } } } ] ---- <1> Add the extension type(s) you want to include with this plug-in. You can include multiple extensions separated with a comma. <2> The `$codeRef` value should be formatted as either `moduleName.exportName` for a named export or `moduleName` for the default export. Only the plug-in’s exported modules can be used in code references.