Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.
Available in version 0.9.35 and greater.
Overview
Once you build a pipeline, you can add UI elements to enable other teams
(e.g. marketing, sales, etc.) to configure the pipeline’s variables without writing or
changing the code for the pipeline and it’s blocks.
Why is this important?
Empower other people and teams to customize and run pipelines themselves.
Run a pipeline for someone and feed them for a day.
Teach them how to fish and they are fed for life:
Features
Add UI elements to a pipeline that can be used to customize the value of pipeline variables.
Re-use UI elements in multiple different pipelines (don’t repeat yourself).
Re-arrange UI elements using drag-and-drop actions.
Restrict and permit specific user roles that can configure and run a pipeline that uses no-code interactions.
In the top right corner of the block, click the triple dot icon (e.g. ...) and
click on the dropdown menu option labeled Add / Edit interactions.
Alternatively, open the right sidekick menu and
click the navigation item labeled Interactions.
If you don’t see that the block is currently selected,
click on the button labeled + Add interactions underneath the block that you want to add
interactions to.
On the block interaction detail view for a single block,
click the button labeled + Create new set of interactions.
Enter a unique name for the set of interactions.
This unique name will be the file path to the interaction.
For example, an interaction name with heroes/fire will create the following file:
[repo_path]/[project_name]/interactions/heroes/fire.yaml.
Configure interactions
A set of interactions can have a label and description associated with it.
For example, a group of UI elements are related to a set of variables specifically used for
querying demographic data.
Optionally enter a label for the interaction.
Optionally enter a description for the interaction.
Variables
Under the section labeled Variables, click the button labeled + Add new variable.
Enter a unique UUID for the new variable and click the button labeled Create variable.
This UUID will be the key that is used in the keyword arguments in the block’s code.
For example, the variable UUID superhero_name will be accessed in
code using kwargs['superhero_name'].
Variable UUIDs are unique across the entire pipeline.
The value from kwargs['superhero_name'] can be accessed and used in any block
within the same pipeline.Read this documentation for more information about
pipeline variables.
Optionally set the variable to be required.
Add a label and description to the variable. This will be displayed alongside the UI element
associated to this variable.
Select 1 or more valid data types for this variable.
The value entered through the UI element associated to this variable
will be casted to the valid data types.
Under the Input option for this variable, select an existing input or create a new one
and associate it to this variable by selecting the dropdown option
labeled + Add a new input.If you’re adding a new input, go to the next section for a step-by-step guide on how to add
and configure an input.
You must click the button at the bottom labeled Save changes for all interactions
to save your changes.
Inputs
Under the section labeled Inputs, click the button labeled + Add new input.
Enter a unique UUID for the new input and click the button labeled Create input.
This input UUID must be unique within the same set of interactions.
An input can be used for multiple different variables.
For example, you may have multiple variables that are strings and you can reuse a single
text field input as the UI element for that variable.
Under the Type option for this input, select the dropdown option
labeled Text field.
Each input type has its own set of additional options that allow you to customize
the UI element further.
You must click the button at the bottom labeled Save changes for all interactions
to save your changes.
Layout
If you have 2 or more variables in the same set of interactions,
you can re-arrange the UI elements in different rows and columns.
Under the section labeled Interaction layout,
hover over a UI element and drag it to another row or another column in the same row.
Then, drop the UI element to rearrange the layout.
You must click the button at the bottom labeled Save changes for all interactions
to save your changes.
Preview and test block interactions
In the pipeline code section, click on the block with interactions.
Near the top of the block, click on the tab labeled INTERACTIONS.
Enter in values for each UI element.
Execute and run the block.
The block code to the example in the image above is:
@data_loaderdef load_data(*args, **kwargs): superhero_name = kwargs['superhero_name'] power_level = kwargs['power_level'] print( f'Hello, my name is {superhero_name}, and my power level is {power_level}.', )
The interactions YAML file (e.g. [repo_path]/[project_name]/interactions/heroes/fire.yaml) is:
inputs: checkboxes: options: - label: Weak value: '0' - label: Strong value: '1' - label: Godlike value: '3' type: checkbox single line text field: type: text_fieldlayout:- - variable: superhero_name width: 1 - variable: power_level width: 1variables: power_level: description: Can you defeat Thanos? input: checkboxes name: How strong are you? types: - list - integer superhero_name: description: What should people call you? input: single line text field name: Superhero name required: true types: - string
Permissions
Add permissions to allow specific user roles the ability to trigger a pipeline
using interactions defined in the pipeline.
Open the right sidekick menu and
click the navigation item labeled Interactions.
Under the section labeled Permissions, click the button labeled + Add permission.
A new row will be appended.
In the row for a single permission, click the button labeled + Add trigger.
Select a trigger type and optionally a trigger interval that you want to allow a user to create
for this pipeline through these interactions.
You can add as many trigger type and trigger interval combinations as you want to a single
permission row.
In the row for a single permission, click the button labeled + Add role.
Select a role that a user must have in order to trigger this pipeline.
A user with a valid role will be able to trigger this pipeline using only the permitted
combination(s) of trigger types and trigger intervals defined in the same permission as
the permitted role.
You must click the button at the bottom labeled Save changes for all interactions
to save your changes.
In the example image below,
a user with the role Viewer can trigger this pipeline only using a
scheduled trigger with the interval @once.A user with the role Editor can do everything a Viewer role can do.
In addition, the role Editor can trigger this pipeline using a
scheduled trigger with the interval @hourly.
Trigger pipeline using interactions
Go to the pipeline’s triggers page (e.g. http://localhost:6789/pipelines/[uuid]/triggers)
and click the button labeled Create trigger with no-code.
Enter in the information for every field under the SETTINGS tab,
then click the button labeled Next: Customize.
Enter in the information for every required field under the CUSTOMIZE tab,
then click the button labeled Next: Review.
On the REVIEW tab, verify all the information is correct.
Optionally, toggle the switch with the label Set trigger to be active immediately after creating
to immediately make the trigger active so it runs as soon as create the trigger.
Click the button labeled Create trigger to save the trigger.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Mage","colors":{"primary":"#7E53F8","light":"#BFA8FF","dark":"#4C22C0"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/mage-staging/F-coujhKYsL8TShc/logo/light.svg?fit=max\u0026auto=format\u0026n=F-coujhKYsL8TShc\u0026q=85\u0026s=771e75dc9069a1ba245e251f78951bcd","dark":"https://mintcdn.com/mage-staging/F-coujhKYsL8TShc/logo/dark.svg?fit=max\u0026auto=format\u0026n=F-coujhKYsL8TShc\u0026q=85\u0026s=8d66f112b5ad4b8007c46ea8cee832da"},"api":{"playground":{"display":"none"}},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/mage-staging/background.png","decoration":null,"color":{"light":null,"dark":"#121212"}},"navbar":{"primary":{"type":"github","href":"https://github.com/mage-ai/mage-ai"}},"search":{"prompt":"✨ Make magic..."},"seo":{"metatags":{"og:image":"https://github.com/mage-ai/mage-ai/blob/master/docs/og.png?raw=True","og:description":"Mage is an open-source, hybrid framework for transforming and integrating data. Our docs are the best place to learn about making magical data pipelines.","og:site_name":"Mage Docs","twitter:site":"@mage_ai"},"indexing":"navigable"},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/magetech/","twitter":"https://twitter.com/mage_ai","facebook":"https://www.facebook.com/mageai","instagram":"https://www.instagram.com/mage_ai/","github":"https://www.github.com/mage-ai"}},"integrations":{"amplitude":{"apiKey":"b3c3b09423fea2abaae92c08b44de1c3"}},"navigation":{"global":{"anchors":[{"anchor":"Releases","href":"https://docs.mage.ai/about/releases","icon":"megaphone"},{"anchor":"Roadmap","href":"https://docs.mage.ai/about/roadmap","icon":"map"},{"anchor":"Troubleshooting","href":"https://docs.mage.ai/development/troubleshooting","icon":"question"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mage-staging","hasAudioNarration":false,"actualSubdomain":"mage-staging","customDomains":[],"gitSource":{"type":"github","owner":"mage-ai","repo":"mage-ai","deployBranch":"docs-dev","contentDirectory":"docs","mountPath":"","label":"","_id":"6b10a1369ffae5051c3f85c4"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae91d067d088452a25a2aa4:success","clientVersion":"0.0.4443","searchFilterCounts":[{"language":"default","tag":"Docs","count":142},{"language":"default","tag":"Concepts","count":99},{"language":"default","tag":"Reference","count":58},{"language":"default","tag":"Deploy","count":40},{"language":"default","tag":"Configuration","count":31},{"language":"default","tag":"API","count":30},{"language":"default","tag":"Blocks","count":29},{"language":"default","tag":"Get Started","count":29},{"language":"default","tag":"Streaming","count":27},{"language":"default","tag":"Endpoints","count":26}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"_css/main.css","content":"img{max-height:450px;display:block;margin-left:auto;margin-right:auto}"}]}
{"page":{"pagePath":"interactions/overview","slug":"/interactions/overview","pageMetadata":{"title":"No-code UI interactions","sidebarTitle":"Interactions","description":"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.","icon":"person-sign","href":"/interactions/overview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`No-code UI interactions`,src:`https://media.tenor.com/eVXHLyK4c-kAAAAC/building-lego.gif`})}),`\n`,_jsx(`br`,{}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Available in version `,_jsx(`b`,{children:_jsx(_components.code,{children:`0.9.35`})}),` and greater.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Once you build a pipeline, you can add UI elements to enable other teams\n(e.g. marketing, sales, etc.) to configure the pipeline’s variables without writing or\nchanging the code for the pipeline and it’s blocks.`}),`\n`,_jsx(Heading,{level:`3`,id:`why-is-this-important`,children:`Why is this important?`}),`\n`,_jsx(_components.p,{children:`Empower other people and teams to customize and run pipelines themselves.\nRun a pipeline for someone and feed them for a day.\nTeach them how to fish and they are fed for life:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Fishing`,src:`https://gifbin.com/bin/112013/1383848317_man_jumps_off_boat_after_marlin_jumps_in.gif`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`features`,children:`Features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add UI elements to a pipeline that can be used to customize the value of pipeline variables.`}),`\n`,_jsx(_components.li,{children:`Re-use UI elements in multiple different pipelines (don’t repeat yourself).`}),`\n`,_jsx(_components.li,{children:`Re-arrange UI elements using drag-and-drop actions.`}),`\n`,_jsx(_components.li,{children:`Restrict and permit specific user roles that can configure and run a pipeline that uses no-code interactions.`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-add-interactions`,children:`How to add interactions`}),`\n`,_jsx(Heading,{level:`3`,id:`enable-feature`,children:`Enable feature`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.a,{href:`http://localhost:6789/settings/workspace/preferences`,children:`project preferences`}),` and\nenable the feature labeled `,_jsx(`b`,{children:_jsx(_components.code,{children:`Interactions`})}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`create-pipeline`,children:`Create pipeline`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Create a new batch pipeline.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Add a block.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Add variables to the block by using `,_jsx(_components.code,{children:`kwargs['some_variable_uuid']`}),` in the code.\nFor example:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`@data_loader`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` load_data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`**`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`kwargs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` superhero_name `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` kwargs[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'superhero_name'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` dict`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` superhero_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`superhero_name,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`add-block-interactions`,children:`Add block interactions`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In the top right corner of the block, click the triple dot icon (e.g. `,_jsx(_components.code,{children:`...`}),`) and\nclick on the dropdown menu option labeled `,_jsx(`b`,{children:`Add / Edit interactions`}),`.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Click interactions block`,src:`https://github.com/mage-ai/assets/blob/main/interactions/click-interactions-block.png?raw=true`})}),`\n`,_jsxs(_components.p,{children:[`Alternatively, open the right sidekick menu and\nclick the navigation item labeled `,_jsx(`b`,{children:`Interactions`}),`.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Click interactions sidekick`,src:`https://github.com/mage-ai/assets/blob/main/interactions/click-interactions-sidekick2.png?raw=true`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If you don’t see that the block is currently selected,\nclick on the button labeled `,_jsx(`b`,{children:`+ Add interactions`}),` underneath the block that you want to add\ninteractions to.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Click add interactions`,src:`https://github.com/mage-ai/assets/blob/main/interactions/click-add-interactions.png?raw=true`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`On the block interaction detail view for a single block,\nclick the button labeled `,_jsx(`b`,{children:`+ Create new set of interactions`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Enter a unique name for the set of interactions.\nThis unique name will be the file path to the interaction.\nFor example, an interaction name with `,_jsx(_components.code,{children:`heroes/fire`}),` will create the following file:\n`,_jsx(_components.code,{children:`[repo_path]/[project_name]/interactions/heroes/fire.yaml`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`configure-interactions`,children:`Configure interactions`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Interaction detail start`,src:`https://github.com/mage-ai/assets/blob/main/interactions/interaction-detail-start.png?raw=true`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`A set of interactions can have a label and description associated with it.\nFor example, a group of UI elements are related to a set of variables specifically used for\nquerying demographic data.`}),`\n`,_jsx(_components.li,{children:`Optionally enter a label for the interaction.`}),`\n`,_jsx(_components.li,{children:`Optionally enter a description for the interaction.`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`variables`,children:`Variables`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Interaction detail variables`,src:`https://github.com/mage-ai/assets/blob/main/interactions/interaction-detail-variables.png?raw=true`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under the section labeled `,_jsx(`b`,{children:`Variables`}),`, click the button labeled `,_jsx(`b`,{children:`+ Add new variable`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Enter a unique UUID for the new variable and click the button labeled `,_jsx(`b`,{children:`Create variable`}),`.\nThis UUID will be the key that is used in the keyword arguments in the block’s code.\nFor example, the variable UUID `,_jsx(_components.code,{children:`superhero_name`}),` will be accessed in\ncode using `,_jsx(_components.code,{children:`kwargs['superhero_name']`}),`.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[`Variable UUIDs are unique across the entire pipeline.\nThe value from `,_jsx(_components.code,{children:`kwargs['superhero_name']`}),` can be accessed and used in any block\nwithin the same pipeline.`]}),_jsxs(_components.p,{children:[`Read this `,_jsx(_components.a,{href:`/getting-started/runtime-variable`,children:`documentation`}),` for more information about\npipeline variables.`]})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Optionally set the variable to be required.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Add a label and description to the variable. This will be displayed alongside the UI element\nassociated to this variable.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Select 1 or more valid data types for this variable.\nThe value entered through the UI element associated to this variable\nwill be casted to the valid data types.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under the `,_jsx(`b`,{children:`Input`}),` option for this variable, select an existing input or create a new one\nand associate it to this variable by selecting the dropdown option\nlabeled `,_jsx(`b`,{children:`+ Add a new input`}),`.`]}),`\n`,_jsx(_components.p,{children:`If you’re adding a new input, go to the next section for a step-by-step guide on how to add\nand configure an input.`}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must click the button at the bottom labeled `,_jsx(`b`,{children:`Save changes for all interactions`}),`\nto save your changes.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`inputs`,children:`Inputs`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Interaction detail inputs`,src:`https://github.com/mage-ai/assets/blob/main/interactions/interaction-detail-inputs.png?raw=true`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Under the section labeled `,_jsx(`b`,{children:`Inputs`}),`, click the button labeled `,_jsx(`b`,{children:`+ Add new input`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter a unique UUID for the new input and click the button labeled `,_jsx(`b`,{children:`Create input`}),`.\nThis input UUID must be unique within the same set of interactions.\nAn input can be used for multiple different variables.\nFor example, you may have multiple variables that are strings and you can reuse a single\ntext field input as the UI element for that variable.`]}),`\n`,_jsxs(_components.li,{children:[`Under the `,_jsx(`b`,{children:`Type`}),` option for this input, select the dropdown option\nlabeled `,_jsx(`b`,{children:`Text field`}),`.`]}),`\n`,_jsx(_components.li,{children:`Each input type has its own set of additional options that allow you to customize\nthe UI element further.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must click the button at the bottom labeled `,_jsx(`b`,{children:`Save changes for all interactions`}),`\nto save your changes.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`layout`,children:`Layout`}),`\n`,_jsx(_components.p,{children:`If you have 2 or more variables in the same set of interactions,\nyou can re-arrange the UI elements in different rows and columns.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Interaction detail layout`,src:`https://github.com/mage-ai/assets/blob/main/interactions/interaction-detail-layout.png?raw=true`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Under the section labeled `,_jsx(`b`,{children:`Interaction layout`}),`,\nhover over a UI element and drag it to another row or another column in the same row.\nThen, drop the UI element to rearrange the layout.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must click the button at the bottom labeled `,_jsx(`b`,{children:`Save changes for all interactions`}),`\nto save your changes.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`preview-and-test-block-interactions`,children:`Preview and test block interactions`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`In the pipeline code section, click on the block with interactions.`}),`\n`,_jsxs(_components.li,{children:[`Near the top of the block, click on the tab labeled `,_jsx(`b`,{children:`INTERACTIONS`}),`.`]}),`\n`,_jsx(_components.li,{children:`Enter in values for each UI element.`}),`\n`,_jsx(_components.li,{children:`Execute and run the block.`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Block interactions preview`,src:`https://github.com/mage-ai/assets/blob/main/interactions/block-interactions-preview.png?raw=true`})}),`\n`,_jsx(_components.p,{children:`The block code to the example in the image above is:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`@data_loader`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` load_data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`**`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`kwargs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` superhero_name `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` kwargs[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'superhero_name'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` power_level `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` kwargs[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'power_level'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Hello, my name is `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`superhero_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`, and my power level is `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`power_level`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The interactions YAML file (e.g. `,_jsx(_components.code,{children:`[repo_path]/[project_name]/interactions/heroes/fire.yaml`}),`) is:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`inputs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` checkboxes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` options`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Weak`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'0'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Strong`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'1'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Godlike`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'3'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`checkbox`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` single line text field`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`text_field`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`layout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`- - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`variable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`superhero_name`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`variable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`power_level`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`variables`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` power_level`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Can you defeat Thanos?`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`checkboxes`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`How strong are you?`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` types`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`integer`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` superhero_name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`What should people call you?`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`single line text field`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Superhero name`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` required`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` types`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`string`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`permissions`,children:`Permissions`}),`\n`,_jsx(_components.p,{children:`Add permissions to allow specific user roles the ability to trigger a pipeline\nusing interactions defined in the pipeline.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Open the right sidekick menu and\nclick the navigation item labeled `,_jsx(`b`,{children:`Interactions`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under the section labeled `,_jsx(`b`,{children:`Permissions`}),`, click the button labeled `,_jsx(`b`,{children:`+ Add permission`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A new row will be appended.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In the row for a single permission, click the button labeled `,_jsx(`b`,{children:`+ Add trigger`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Select a trigger type and optionally a trigger interval that you want to allow a user to create\nfor this pipeline through these interactions.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`You can add as many trigger type and trigger interval combinations as you want to a single\npermission row.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In the row for a single permission, click the button labeled `,_jsx(`b`,{children:`+ Add role`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Select a role that a user must have in order to trigger this pipeline.\nA user with a valid role will be able to trigger this pipeline using only the permitted\ncombination(s) of trigger types and trigger intervals defined in the same permission as\nthe permitted role.`}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must click the button at the bottom labeled `,_jsx(`b`,{children:`Save changes for all interactions`}),`\nto save your changes.`]})}),`\n`,_jsxs(_components.p,{children:[`In the example image below,\na user with the role `,_jsx(_components.code,{children:`Viewer`}),` can trigger this pipeline only using a\nscheduled trigger with the interval `,_jsx(_components.code,{children:`@once`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A user with the role `,_jsx(_components.code,{children:`Editor`}),` can do everything a `,_jsx(_components.code,{children:`Viewer`}),` role can do.\nIn addition, the role `,_jsx(_components.code,{children:`Editor`}),` can trigger this pipeline using a\nscheduled trigger with the interval `,_jsx(_components.code,{children:`@hourly`}),`.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Block interactions preview`,src:`https://github.com/mage-ai/assets/blob/main/interactions/block-interactions-preview.png?raw=true`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`trigger-pipeline-using-interactions`,children:`Trigger pipeline using interactions`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to the pipeline’s triggers page (e.g. `,_jsx(_components.code,{children:`http://localhost:6789/pipelines/[uuid]/triggers`}),`)\nand click the button labeled `,_jsx(`b`,{children:`Create trigger with no-code`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter in the information for every field under the `,_jsx(`b`,{children:`SETTINGS`}),` tab,\nthen click the button labeled `,_jsx(`b`,{children:`Next: Customize`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter in the information for every required field under the `,_jsx(`b`,{children:`CUSTOMIZE`}),` tab,\nthen click the button labeled `,_jsx(`b`,{children:`Next: Review`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`On the `,_jsx(`b`,{children:`REVIEW`}),` tab, verify all the information is correct.`]}),`\n`,_jsxs(_components.li,{children:[`Optionally, toggle the switch with the label `,_jsx(`b`,{children:`Set trigger to be active immediately after creating`}),`\nto immediately make the trigger active so it runs as soon as create the trigger.`]}),`\n`,_jsxs(_components.li,{children:[`Click the button labeled `,_jsx(`b`,{children:`Create trigger`}),` to save the trigger.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{alt:`Trigger pipeline`,src:`https://github.com/mage-ai/assets/blob/main/interactions/trigger-pipeline.png?raw=true`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"No-code UI interactions","sidebarTitle":"Interactions","description":"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.","icon":"person-sign","href":"/interactions/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[{"title":"Why is this important?","slug":"why-is-this-important","depth":3,"children":[]}]},{"title":"Features","slug":"features","depth":2,"children":[]},{"title":"How to add interactions","slug":"how-to-add-interactions","depth":2,"children":[{"title":"Enable feature","slug":"enable-feature","depth":3,"children":[]},{"title":"Create pipeline","slug":"create-pipeline","depth":3,"children":[]},{"title":"Add block interactions","slug":"add-block-interactions","depth":3,"children":[]},{"title":"Configure interactions","slug":"configure-interactions","depth":3,"children":[]},{"title":"Variables","slug":"variables","depth":4,"children":[]},{"title":"Inputs","slug":"inputs","depth":4,"children":[]},{"title":"Layout","slug":"layout","depth":4,"children":[]},{"title":"Preview and test block interactions","slug":"preview-and-test-block-interactions","depth":3,"children":[]},{"title":"Permissions","slug":"permissions","depth":3,"children":[]}]},{"title":"Trigger pipeline using interactions","slug":"trigger-pipeline-using-interactions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mage-staging","siteName":"Mage","title":"No-code UI interactions - Mage","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:44:15.118Z","originalFileLocation":"interactions/overview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"No-code UI interactions - Mage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Mage is an open-source, hybrid framework for transforming and integrating data. Our docs are the best place to learn about making magical data pipelines.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mage Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mage-staging.mintlify.app/interactions/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://github.com/mage-ai/mage-ai/blob/master/docs/og.png?raw=True\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"No-code UI interactions - Mage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Mage is an open-source, hybrid framework for transforming and integrating data. Our docs are the best place to learn about making magical data pipelines.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://github.com/mage-ai/mage-ai/blob/master/docs/og.png?raw=True\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mage-staging/9hbSRsJaqH6uNa8l/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7E53F8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mage-staging.mintlify.app/interactions/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/interactions/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mage-staging.mintlify.app/#organization\",\"name\":\"Mage\",\"url\":\"https://mage-staging.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mage-staging/F-coujhKYsL8TShc/logo/light.svg?fit=max\u0026auto=format\u0026n=F-coujhKYsL8TShc\u0026q=85\u0026s=771e75dc9069a1ba245e251f78951bcd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mage-staging.mintlify.app#website\",\"name\":\"Mage\",\"url\":\"https://mage-staging.mintlify.app\",\"publisher\":{\"@id\":\"https://mage-staging.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mage-staging.mintlify.app/interactions/overview#webpage\",\"url\":\"https://mage-staging.mintlify.app/interactions/overview\",\"name\":\"No-code UI interactions\",\"description\":\"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.\",\"dateModified\":\"2026-01-06T23:44:15.118Z\",\"isPartOf\":{\"@id\":\"https://mage-staging.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://mage-staging.mintlify.app/interactions/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mage-staging.mintlify.app/interactions/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://mage-staging.mintlify.app/development/variables/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"No-code UI interactions\",\"item\":\"https://mage-staging.mintlify.app/interactions/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://mage-staging.mintlify.app/interactions/overview#article\",\"headline\":\"No-code UI interactions\",\"name\":\"No-code UI interactions\",\"description\":\"Configure and run pipelines using no-code UI text fields, dropdown menus, checkboxes, toggle switches, and more.\",\"url\":\"https://mage-staging.mintlify.app/interactions/overview\",\"mainEntityOfPage\":{\"@id\":\"https://mage-staging.mintlify.app/interactions/overview#webpage\"},\"image\":\"https://github.com/mage-ai/mage-ai/blob/master/docs/og.png?raw=True\",\"dateModified\":\"2026-01-06T23:44:15.118Z\",\"publisher\":{\"@id\":\"https://mage-staging.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://mage-staging.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mage\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mage\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/interactions/overview.md","siteName":"Mage","nav":{"global":{"anchors":[{"anchor":"Releases","href":"https://docs.mage.ai/about/releases","icon":"megaphone"},{"anchor":"Roadmap","href":"https://docs.mage.ai/about/roadmap","icon":"map"},{"anchor":"Troubleshooting","href":"https://docs.mage.ai/development/troubleshooting","icon":"question"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Get Started","pages":[{"title":"🧙♀️ Welcome to Mage","sidebarTitle":"Overview","icon":"hat-wizard","href":"/introduction/overview"},{"title":"Quickstart","sidebarTitle":"Quickstart","icon":"space-station-moon-construction","href":"/getting-started/setup"},{"title":"Core Design Principles","sidebarTitle":"Design","icon":"pen-nib","href":"/design/core-design-principles"},{"group":"Abstractions","icon":"object-subtract","pages":[{"title":"Abstractions","sidebarTitle":"Core abstractions","href":"/design/core-abstractions"},{"title":"Project Structure","href":"/design/abstractions/project-structure"}]}]},{"group":"Concepts","pages":[{"group":"Backfills","icon":"database","pages":[{"title":"Backfilling pipelines","sidebarTitle":"Overview","href":"/orchestration/backfills/overview"},{"title":"Backfill guide","sidebarTitle":"Guide","href":"/orchestration/backfills/guides"}]},{"group":"Blocks","icon":"block-brick","pages":[{"title":"Overview","href":"/design/blocks"},{"group":"Types","pages":[{"title":"Callback blocks","sidebarTitle":"Callback","href":"/design/blocks/callbacks"},{"title":"Conditional blocks","sidebarTitle":"Conditional","href":"/design/blocks/conditionals"},{"title":"Data exporter","href":"/design/blocks/data-exporter"},{"title":"Data loader","href":"/design/blocks/data-loader"},{"title":"Extension block","sidebarTitle":"Extension","href":"/design/blocks/extension"},{"title":"Scratchpad","href":"/design/blocks/scratchpad"},{"title":"Sensor","href":"/design/blocks/sensor"},{"title":"Transformer","href":"/design/blocks/transformer"}]},{"title":"Dynamic blocks","href":"/design/blocks/dynamic-blocks"},{"group":"Resources","pages":[{"group":"Data loader","pages":[{"title":"Data loader utilities","sidebarTitle":"Utilities","href":"/design/data-loading"},{"title":"Data loader templates","sidebarTitle":"Templates","href":"/development/blocks/data_loaders/templates"}]},{"group":"Transformer","pages":[{"title":"Transformer templates","sidebarTitle":"Templates","href":"/development/blocks/transformers/templates"}]},{"group":"Data exporter","pages":[{"title":"Data exporter templates","sidebarTitle":"Templates","href":"/development/blocks/data_exporters/templates"}]},{"group":"Sensors","pages":[{"title":"Sensor templates","sidebarTitle":"Templates","href":"/development/blocks/sensors/templates"}]},{"group":"Callbacks","pages":[{"title":"Callback templates","sidebarTitle":"Templates","href":"/development/blocks/callbacks/templates"}]},{"group":"Conditionals","pages":[{"title":"Conditional templates","sidebarTitle":"Templates","href":"/development/blocks/conditionals/templates"}]}]}]},{"group":"Data integration","icon":"rotate","pages":[{"title":"Overview","href":"/data-integrations/overview"},{"title":"Configure data integration pipelines","sidebarTitle":"Configuration","href":"/data-integrations/configuration"},{"group":"Sources","pages":[{"title":"Sources technical documentation","sidebarTitle":"Overview","href":"/data-integrations/sources/overview"},{"title":"Add new source","href":"/data-integrations/sources/add-new-source"},{"title":"Change Data Capture (CDC) with PostgreSQL","sidebarTitle":"PostgreSQL","href":"/data-integrations/sources/postgresql"}]},{"group":"Destinations","pages":[{"title":"Destinations technical documentation","sidebarTitle":"Overview","href":"/data-integrations/destinations/overview"},{"title":"Add new destination","href":"/data-integrations/destinations/add-new-destination"}]},{"title":"Using data integrations in batch pipelines","sidebarTitle":"Batch pipelines","href":"/data-integrations/batch-pipelines"}]},{"group":"dbt","icon":"arrow-progress","pages":[{"title":"dbt Integration","sidebarTitle":"Overview","href":"/dbt/overview"},{"group":"Configuration","pages":[{"title":"dbt sources and upstream dependencies","sidebarTitle":"Get data from blocks","href":"/dbt/sources"},{"title":"dbt connection profiles","sidebarTitle":"Connection profiles","href":"/dbt/connection-profiles"},{"title":"dbt variable interpolation","sidebarTitle":"Variable interpolation","href":"/dbt/variable-interpolation"},{"title":"Run dbt-spark against a pySpark session.","sidebarTitle":"Run dbt-spark","href":"/dbt/run-dbt-spark"}]},{"group":"Models","pages":[{"title":"Add an existing dbt project to Mage","sidebarTitle":"Add existing project","href":"/dbt/add-existing-dbt"},{"title":"Incremental models","href":"/dbt/incremental-models"},{"title":"Run a single model","sidebarTitle":"Run a model","href":"/dbt/run-single-model"},{"title":"Run multiple models","sidebarTitle":"Run multiple models","href":"/dbt/run-selected-model"}]},{"group":"Commands","pages":[{"title":"Serve dbt docs in production","sidebarTitle":"Docs","href":"/dbt/docs"},{"title":"Run dbt snapshot","sidebarTitle":"Snapshots","href":"/dbt/snapshots"},{"title":"Running dbt tests","sidebarTitle":"Tests","href":"/dbt/running-dbt-tests"}]}]},{"title":"Global data products","sidebarTitle":"Global data products","icon":"globe","href":"/orchestration/global-data-products/overview"},{"title":"Pipeline Management","sidebarTitle":"Pipelines","icon":"pipe-section","href":"/design/data-pipeline-management"},{"group":"Pipeline runs","icon":"pipe-circle-check","pages":[{"title":"Retrying block runs from a pipeline run","sidebarTitle":"Retrying block runs","href":"/orchestration/pipeline-runs/retrying-block-runs"},{"title":"Saving block output as CSV file","sidebarTitle":"Saving block output as CSV","href":"/orchestration/pipeline-runs/saving-block-output-as-csv"}]},{"group":"Schedules and triggers","icon":"clock","pages":[{"title":"Configure triggers in code","href":"/orchestration/triggers/configure-triggers-in-code"},{"group":"Event triggers","pages":[{"title":"Overview","sidebarTitle":"Event triggers","href":"/orchestration/triggers/events/overview"},{"title":"Trigger from AWS events","sidebarTitle":"AWS","href":"/orchestration/triggers/events/aws"}]},{"title":"Trigger pipeline from a block","sidebarTitle":"Trigger from block","href":"/orchestration/triggers/trigger-pipeline"},{"title":"Triggering pipeline via API request","sidebarTitle":"Webhooks","href":"/orchestration/triggers/trigger-pipeline-api"},{"title":"Schedules","sidebarTitle":"Schedules","href":"/orchestration/triggers/schedule-pipelines"}]},{"group":"Streaming","icon":"water","pages":[{"title":"Overview","href":"/streaming/overview"},{"group":"Sources","pages":[{"title":"ActiveMQ","href":"/streaming/sources/activemq"},{"title":"Amazon SQS","href":"/streaming/sources/amazon-sqs"},{"title":"Azure Event Hub","href":"/streaming/sources/azure-event-hub"},{"title":"Google Cloud PubSub","href":"/streaming/sources/google-cloud-pubsub"},{"title":"InfluxDB","href":"/streaming/sources/influxdb"},{"title":"Kafka","href":"/streaming/sources/kafka"},{"title":"Kinesis","href":"/streaming/sources/kinesis"}]},{"group":"Destinations","pages":[{"title":"Amazon S3","href":"/streaming/destinations/amazon-s3"},{"title":"BigQuery","href":"/streaming/destinations/bigquery"},{"title":"ClickHouse","href":"/streaming/destinations/clickhouse"},{"title":"DuckDB","href":"/streaming/destinations/duckdb"},{"title":"Dummy","href":"/streaming/destinations/dummy"},{"title":"Elasticsearch","href":"/streaming/destinations/elasticsearch"},{"title":"Google Cloud PubSub","href":"/streaming/destinations/google-cloud-pubsub"},{"title":"InfluxDB","href":"/streaming/destinations/influxdb"},{"title":"Kafka","href":"/streaming/destinations/kafka"},{"title":"Kinesis","href":"/streaming/destinations/kinesis"},{"title":"MongoDB","href":"/streaming/destinations/mongodb"},{"title":"Microsoft SQL Server","href":"/streaming/destinations/mssql"},{"title":"MySQL","href":"/streaming/destinations/mysql"},{"title":"Opensearch","href":"/streaming/destinations/opensearch"},{"title":"Postgres","href":"/streaming/destinations/postgres"},{"title":"Redshift","href":"/streaming/destinations/redshift"},{"title":"Snowflake","href":"/streaming/destinations/snowflake"},{"title":"Trino","href":"/streaming/destinations/trino"}]}]},{"group":"User defined permissions","icon":"fingerprint","pages":[{"title":"User defined permissions","sidebarTitle":"Overview","href":"/authentication/permissions/overview"},{"title":"Roles","sidebarTitle":"Roles","href":"/authentication/permissions/roles"},{"title":"Permissions","sidebarTitle":"Permissions","href":"/authentication/permissions/permissions"}]}]},{"group":"Reference","icon":"gear","pages":[{"group":"Configuration","icon":"gear","pages":[{"group":"Variables","pages":[{"title":"Mage variables","sidebarTitle":"Overview","href":"/development/variables/overview"},{"title":"Accessing variables in Mage","sidebarTitle":"Accessing variables","href":"/development/variables/referencing-variables"},{"group":"Variable Types","pages":[{"title":"Mage environment variables","sidebarTitle":"Environment variables","href":"/development/variables/environment-variables"},{"title":"Pipeline variables and keyword arguments","sidebarTitle":"Runtime variables","href":"/getting-started/runtime-variable"},{"title":"Mage block variables","sidebarTitle":"Block variables","href":"/development/variables/block-variables"},{"title":"Secrets","href":"/development/variables/secrets"}]}]},{"title":"Custom templates","sidebarTitle":"Custom templates","href":"/custom-templates/overview"},{"group":"Dependencies","pages":[{"title":"Install Python packages","sidebarTitle":"Requirements.txt","href":"/development/dependencies/requirements"},{"title":"Import your own Python code","sidebarTitle":"Custom files","href":"/development/dependencies/custom-files"}]},{"title":"IO Config","sidebarTitle":"IO Config","href":"/development/io_config"},{"group":"Storage","pages":[{"title":"BigQuery","href":"/integrations/databases/BigQuery"},{"title":"ClickHouse","href":"/integrations/databases/ClickHouse"},{"title":"Druid","href":"/integrations/databases/Druid"},{"title":"DuckDB","sidebarTitle":"DuckDB","href":"/integrations/databases/DuckDB"},{"title":"Google Sheets","href":"/integrations/databases/GoogleSheets"},{"title":"Microsoft SQL Server","href":"/integrations/databases/MicrosoftSQLServer"},{"title":"MongoDB","href":"/integrations/databases/MongoDB"},{"title":"MySQL","href":"/integrations/databases/MySQL"},{"title":"Pinot","href":"/integrations/databases/Pinot"},{"title":"PostgreSQL","href":"/integrations/databases/PostgreSQL"},{"title":"Redshift","href":"/integrations/databases/Redshift"},{"title":"S3","href":"/integrations/databases/S3"},{"title":"Snowflake","href":"/integrations/databases/Snowflake"},{"title":"Trino SQL blocks","sidebarTitle":"Trino","href":"/integrations/databases/trino"}]},{"title":"Kernels","href":"/getting-started/kernels"}]},{"group":"Development","icon":"flask","pages":[{"title":"Project setup","sidebarTitle":"Overview","href":"/development/project/setup"},{"title":"Git in Mage","sidebarTitle":"Get started with Git","href":"/getting-started/setting-up-git"},{"title":"Configure Git","href":"/development/git/configure"},{"title":"File versioning in Mage","sidebarTitle":"File versions","href":"/getting-started/file-versions"},{"title":"Use an IDE","sidebarTitle":"Use an IDE","href":"/development/text-editor"}]},{"group":"External tools","icon":"puzzle","pages":[{"group":"Computation","pages":[{"title":"Spark and PySpark","sidebarTitle":"Spark","href":"/integrations/spark-pyspark"},{"title":"Databricks","href":"/integrations/databricks"}]},{"group":"Orchestration","pages":[{"title":"Run Mage pipelines in Airflow","sidebarTitle":"Airflow","href":"/integrations/airflow"},{"title":"Run Mage pipelines in Prefect","sidebarTitle":"Prefect","href":"/integrations/prefect"}]},{"group":"Data integration","pages":[{"title":"Airbyte in Mage","sidebarTitle":"Airbyte","href":"/integrations/airbyte"},{"title":"Stitch in Mage","sidebarTitle":"Stitch","href":"/integrations/stitch"}]},{"group":"Transformation","pages":[{"title":"dbt Cloud in Mage","sidebarTitle":"dbt Cloud","href":"/integrations/dbt-cloud"},{"title":"Polars","href":"/integrations/polars"}]},{"group":"Observability","pages":[{"group":"Monitoring","pages":[{"title":"Writing metrics to Datadog","sidebarTitle":"Datadog","href":"/integrations/observability/datadog"},{"title":"Great Expectations","href":"/integrations/observability/great-expectations"},{"title":"Metaplane in Mage","sidebarTitle":"Metaplane","href":"/integrations/observability/metaplane"},{"title":"Monitoring with New Relic","sidebarTitle":"New Relic","href":"/integrations/observability/newrelic"},{"title":"Monitoring with Sentry","sidebarTitle":"Sentry","href":"/integrations/observability/sentry"},{"title":"Monitoring with Prometheus","sidebarTitle":"Prometheus","href":"/integrations/observability/prometheus"}]},{"group":"Alerting","pages":[{"title":"Alerting status updates in Email","sidebarTitle":"Email","href":"/integrations/observability/alerting-email"},{"title":"Alerting status updates in Opsgenie","sidebarTitle":"Opsgenie","href":"/integrations/observability/alerting-opsgenie"},{"title":"Alerting status updates in Slack","sidebarTitle":"Slack","href":"/integrations/observability/alerting-slack"},{"title":"Alerting status updates in Teams","sidebarTitle":"Teams","href":"/integrations/observability/alerting-teams"}]}]},{"group":"Reverse ETL","pages":[{"title":"Hightouch in Mage","sidebarTitle":"Hightouch","href":"/integrations/hightouch"}]}]},{"group":"Monitoring","icon":"eye","pages":[{"title":"Monitoring","sidebarTitle":"Overview","href":"/development/observability/monitoring"},{"title":"Logging","href":"/development/observability/logging"}]},{"group":"Testing","icon":"vial","pages":[{"title":"Data validation","href":"/development/data-validation"},{"title":"Great Expectations","href":"/development/testing/great-expectations"},{"title":"Unit tests","href":"/development/testing/unit-tests"}]},{"title":"AI generated code","sidebarTitle":"AI generated code","icon":"microchip-ai","href":"/development/ai/overview"},{"group":"Visualizations","icon":"chart-line-up-down","pages":[{"title":"Customizable dashboards","sidebarTitle":"Dashboards","description":"There are 2 dashboards: a dashboard for all your pipelines and a dashboard for each pipeline. You can add charts of various types with different sources of data. Use these dashboards for observability or for analytics.","icon":"chart-tree-map","href":"/visualizations/dashboards"}]},{"group":"No-code interactions","icon":"universal-access","pages":[{"title":"No-code UI interactions","sidebarTitle":"Interactions","icon":"person-sign","href":"/interactions/overview"}]},{"title":"Updating Mage","icon":"space-station-moon-construction","description":"How to get the latest and greatest from the Mage team.","href":"/development/updating-mage"}]},{"group":"About","icon":"info","pages":[{"title":"Code of Conduct","sidebarTitle":"Code of conduct","icon":"staff","href":"/about/code-of-conduct"},{"title":"Help improve the tool","sidebarTitle":"Usage statistics","icon":"calculator","href":"/about/statistics"},{"title":"Frequently Asked Questions","sidebarTitle":"FAQ","icon":"question","href":"/about/frequently-asked-questions"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/overview"}]},{"tab":"Deploy","pages":[{"title":"Deploy","href":"/production/deploying-to-cloud/architecture"}]},{"tab":"Contribute","pages":[{"title":"Contribute","href":"/contributing/overview"}]},{"tab":"Slack","href":"https://www.mage.ai/chat"}]},"basePath":"","title":"No-code UI interactions - Mage","deploymentId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","buildId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-e4mMzlVI.js","DynamicMarkdown-oxDihwef.js","zoom-image-lightbox-DCI5xCVC.js","lightbox-handle-r17bVUz3.js"]}