Skip to main content
Paste this prompt into your coding agent, in your backend’s repository. It builds the integration end to end: open a customer’s company, complete it, upload its certificate, send its books, approve its returns in your product and react to webhooks. The agent reads both contracts, the Partner API and the Melso API, so it never has to guess a field.

Before you run it

  • Create a partner key in Settings › Developers with the permissions the steps need: companies:write, incorporations:write, fiscal_profile:write, certificates:write, books:write, taxes:write and webhooks:write. Put it in MELSO_PARTNER_KEY on your server.
  • Build with an mk_test_ key and invented businesses. Nothing is filed in the test environment.