Docs

Connect WordPress

WordPress needs no code. Sei talks to the site's REST API with an application password, the same mechanism the WordPress mobile apps use.

Connect

  1. In Sei, add the site (Sites → Add a site), choose WordPress, then Connect WordPress.
  2. WordPress opens its own Authorize application screen. Sign in as a user who can publish posts and approve it. WordPress needs HTTPS for application passwords (or WP_ENVIRONMENT_TYPE set to local).
  3. Sei swaps the approved password for a fresh one named "Sei", checks it works, and stores it encrypted.

To disconnect, use Disconnect on the site's page in Sei (Sei deletes its passwords from WordPress), or revoke "Sei" under Users → Profile → Application Passwords.

The plugin is free on WordPress.org: Plugins → Add New → "GetSei". Without it Sei still publishes, but:

Without the plugin With the plugin
Title, slug, body, categories, tags, cover Published Published
SEO title, meta description, focus keyphrase Not stored (WordPress has no fields for them) Stored, and written into Yoast SEO, Rank Math, AIOSEO, SEOPress or The SEO Framework when one is active
An edit made in WordPress within the second of Sei's write May show as a conflict Told apart by the content hash the plugin keeps
Scoring in the block editor None The Sei sidebar: offline, no account needed
Preview in Sei A published post's page, with the draft put in its place Rendered by your theme itself (plugin 1.2 or newer)

The plugin makes no requests to Sei and stores no secrets. Sei reads its version from /wp-json/getsei/v1/status (/wp-json/sei/v1/status up to plugin 1.2).

What each operation does on WordPress

Operation in Sei On WordPress
Publish Creates or updates the post as Gutenberg blocks
Save as draft, Schedule status draft, or future at the time you picked in the site's time zone
Unpublish Back to draft
Import Reads posts (published, scheduled, drafts, pending, private) with their categories, tags and featured image
Cover image Uploaded to the media library once, then set as the featured image
Delete with "Also delete it on WordPress" Moves the post to WordPress's Trash (kept 30 days by default)
Restore from Sei's Trash Takes the post out of WordPress's Trash, as a draft
Categories and tags Matched by slug; a new one is created only after you confirm, by a user who can manage categories
A link marked Sponsored, Nofollow or UGC The link's rel
Preview (plugin 1.2 or newer) The draft is kept for ten minutes and shown in place of a published post, in memory only: no post changes, and the page is never cached or indexed

Sei never overwrites a post someone edited in WordPress since Sei last saw it: it shows a conflict with Overwrite, Pull into editor and Save as new draft. A post with blocks Sei can't represent (a gallery, a shortcode, a custom block) opens read-only in Sei, and publishing it sends only the SEO fields and the slug.

Sei reads and writes paragraphs, headings (H2 to H4), lists, quotes, images and tables. A table is a Table block with an optional header row, plain cells (bold, italic, links and line breaks) and WordPress's default fixed layout. A table with merged cells, a caption, a footer, a header column, a style or cell alignment opens read-only. An image keeps its width and height when they are whole pixels on the image itself (how WordPress up to 6.2 saved a resized image); an image resized in WordPress 6.3 or newer (a style) or with a caption or a link opens read-only.

Requirements

WordPress 6.6 or newer, PHP 7.4 or newer, the REST API reachable at /wp-json/ (or ?rest_route=), and application passwords not switched off by a security plugin. A firewall that challenges unknown clients must let Sei's requests through.