Not sure if this is what you ment, but i register it in the interaction registry in on the client if the environment is the designer. You can import it from the @inductiveautomation/perspective-designer
npm package:
import {
InteractionRegistry,
ContainerDesignDelegate
} from "@inductiveautomation/perspective-designer";