The connector code editor

The connector code editor is the full-screen popup where you work on a Connect Anything connector's code: write and organise its files, and keep your edits in step with the connector agent. Open it from the connector's Build step. The file versions and the zip round-trip are on Connector versions and zip transfers.

Open the editor

  1. Open the connector and go to its Build step.
  2. On the connector template card, click Open code editor.
  3. The popup opens full screen: the file tree on the left, the open file on the right, and the first file opens by itself.

While the popup loads it reads Loading connector; an open file reads Loading file and the tree reads Loading files.

If the popup cannot load the connector, it reads This connector is not available. Close it and open it again from the Build step. If it reads Save the connection first to browse and edit tap files., the connector has not been created yet: in the create flow, click Create & continue on General first.

Changing a connector's files needs Add/Modify Lake Objects. See Who can do what in the Lake.

Edit and organise the files

Right-click an item in the file tree for its actions:

Right-click onActions
A fileCopy, Cut, Paste, Rename, Protect, Delete
A folderNew File Here, New Subfolder, Paste, Rename, Delete
Empty spaceNew File, New Folder, Paste
A protected filePaste, Delete

Unsaved edits and the connector agent

Protect a file

  1. Right-click the file and choose Protect.
  2. Confirm with Protect. The dialog says Protecting a file is permanent.

Go back to an earlier version

The connector's file versions have their own page: see Connector versions and zip transfers for the History list and how to restore one. The configuration keeps a history of its own:

The configuration

The connector's configuration keeps its own history on the Connection step. History sits on the Configuration (meltano.yml) toolbar (tooltip Saved versions of this YAML); it appears once the connector exists and you can read the Lake, and it is hidden on a duplicate.

Move the connector as a zip

To pack the connector's files into a zip, or to apply a zip to a connector, see Connector versions and zip transfers.

Questions, answered

How do I open the connector code editor?

Open the connector's Build step and click Open code editor on the connector template card; the popup opens full screen. For the connector end to end, see Connect Anything (custom connector).

Why can't I browse or edit the files yet?

In the create flow the connector must exist before its files can open: click Create & continue on General first, then open the editor from Build again. If the popup reads This connector is not available., close it and open it again.

Is my work saved automatically?

No. Click Save or press Ctrl+S. Files with unsaved changes carry a dot in the tree, and drafts are held in memory only, so a page reload drops them.

I minimised the editor. Are my changes still there?

Yes, while the popup stays open: a minimised popup keeps its drafts and unsaved edits. Close and Refresh drop them, so save before you close.

What happens when the connector agent changes a file I have unsaved edits in?

The editor merges the two versions when it safely can and reports Merged AI changes. If the same lines were changed on both sides, a dialog reads Your edits conflict with the AI's changes: compare with View diff, then choose Keep mine or Take AI's.

What does Protect do, and can I undo it?

It makes the file read-only, hides the credential values it holds, and keeps it out of downloads and uploads. Protection is permanent: there is no way to unprotect a file from the product.

Does renaming or moving a file keep its unsaved edits?

Yes. A renamed or moved file keeps its unsaved edits, and the editor follows the file to its new path.

Can I search inside the connector's files?

The connector agent can: it matches file name patterns and file contents and shows where each match is. A pattern that is not valid as a regular expression is refused, and the reason starts with Invalid regex:.

What do the Current, Synced and AI badges in the configuration history mean?

Current marks the version that matches the saved configuration, Synced a configuration captured from the connector after a sync, and AI a version written by an AI agent. A version stored without a user shows as System.