- EmDash
- Start here
- Install
Flux Importer for EmDash
Available · v0.9.0Bring CSV, JSON, XML and Excel files, and live URL feeds, into EmDash. Map columns in a visual wizard, preview a dry run, schedule repeats and roll back any run.


Requirements
Section titled “Requirements”- EmDash 1.6 or later
- Astro 6 or later, with
@astrojs/react - Node 22.16 or later, or Cloudflare Workers
@cloudflare/kumo2.19.0, the version EmDash 1.6’s admin uses
Install in three steps
Section titled “Install in three steps”-
Add the package
Section titled “Add the package”pnpm add @fluximporter/emdash# next: register the plugin in astro.config.mjs
-
Register the plugin
Section titled “Register the plugin”Add
fluxImporter()to EmDash’s plugins, andfluxImporterRoutes()to Astro’s integrations. The second one adds the upload route, so large files don’t hit EmDash’s 8 MiB limit on plugin requests.astro.config.mjs import { defineConfig } from "astro/config";import cloudflare from "@astrojs/cloudflare";import react from "@astrojs/react";import emdash from "emdash/astro";import { d1, r2 } from "@emdash-cms/cloudflare";import { fluxImporter, fluxImporterRoutes } from "@fluximporter/emdash";export default defineConfig({output: "server",adapter: cloudflare(),integrations: [react(),emdash({database: d1({ binding: "DB" }),storage: r2({ binding: "MEDIA" }),plugins: [fluxImporter()],}),fluxImporterRoutes(),],});On Node, use EmDash’s
sqlite()andlocal()storage instead of D1 and R2. Nothing else changes. -
Open the importer
Section titled “Open the importer”Start your site, sign in to the admin at
/_emdash/adminand open Imports in the sidebar. New import starts the wizard with your first file.
Where next
Section titled “Where next”- Start hereYour first importA CSV into a collection, start to finish.
- GuidesThe import wizardMapping, AI suggestions and the dry run.
- GuidesSchedulesRepeat a URL import on a timetable.
- ReferenceAPI routes45 routes: jobs, templates, sources, schedules, credentials, schema.
- ReferenceAgent tools8 MCP tools for AI agents.
- ReferenceError codesEvery code, its HTTP status and meaning.