> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preview.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Comfy UI Plugin

> Connect Preview to ComfyUI to move images and videos in either direction.

Preview integrates with ComfyUI: send ComfyUI generations to your Preview canvas, or send Preview files into a ComfyUI workflow.

## Connect Preview to ComfyUI

<Steps>
  <Step title="Install the extension">
    In ComfyUI, open Extensions, search for `comfy-preview-nodes`, and install the latest version. Restart ComfyUI.
  </Step>

  <Step title="Sign in">
    Click the Preview icon in the ComfyUI sidebar, then **Sign In With WorkOS**. Enter the emailed code and confirm it matches the code in ComfyUI.
  </Step>
</Steps>

## Bring Preview files into ComfyUI

Browse your projects in the ComfyUI sidebar. Click the insert button on an image or video, or drag it onto the ComfyUI canvas, to create a **Load Take** node usable like any other node.

## Send ComfyUI output into Preview

<Steps>
  <Step title="Connect a group">
    With a canvas open in the target project, choose an existing Group (or create one) and select **Connect to Comfy** from its context menu, which copies an **Upload Image Take** node.
  </Step>

  <Step title="Wire it up and run">
    Paste the node into your ComfyUI workflow, connect your image output to it, then run the workflow. The result lands automatically in that Group on your Preview canvas.
  </Step>
</Steps>

<Tip>
  Paste multiple Group nodes at once to send different outputs to different groups.
</Tip>
