DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a company plugin that calls internal APIs with member login with Workdsh

Write a Host plugin that uses workdshEnterprise to call your company backend without handling tokens.

Short answer: Install and activate Enterprise Connection, then sign in to the company account in Desktop; then write the Host entry for your plugin so it injects workdshEnterprise and does not run in the browser page; call identity() to get the current member, then call request() with the plugin name, operation, method and body. All steps.

Who it is forA developer at a company running WorkDSH Enterprise Desktop who needs an internal plugin that reads business data for signed-in employees.

The problemEach internal plugin would otherwise need its own login flow and token handling, which is slow to build and risky to get wrong.

The outcomeA Host plugin that reads the current member identity and calls a business endpoint on the company backend under that member's login.

What you need first

  • WorkDSH Desktop downloaded from the project's release page
  • A personal project goal, or a company account if you need enterprise features
  • Enterprise Connection plugin file, only for the collaboration and business plugin use cases

Steps

  1. Install and activate Enterprise Connection, then sign in to the company account in Desktop.
  2. Write the Host entry for your plugin so it injects workdshEnterprise and does not run in the browser page.
  3. Call identity() to get the current member, then call request() with the plugin name, operation, method and body.
  4. Implement the matching business endpoint and its authorization on the company backend, without another login flow.
  5. Read the integration guide to package the type dependency and check request restrictions before shipping.

Prompt for your agent

Using the WorkDSH repo at techflag/workdsh, write a Host plugin named <plugin name> that injects workdshEnterprise and calls the business operation <operation> on the company backend. Expected output: a plugin entry that returns the member identity and the list response. Verify that the request reaches the POST endpoint under /api/extensions/ and that the backend rejects members without permission.

Caveat. The README's example requires Desktop 2.0.6-alpha.3 and Enterprise Connection 0.1.0-alpha.2, and workdsh-contracts is not a published public npm SDK, so you must package its type dependency yourself.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for techflag/workdsh and "Build a company plugin that calls internal APIs with member login"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer