> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.6mm.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.6mm.com/_mcp/server.

# Agent Java SDK

<h2 id="official-repository">
  Official repository
</h2>

The Java SDK repository is the source of truth for SDK source code, release notes, usage examples, and implementation details:

[6mm-com/agent-java-sdk](https://github.com/6mm-com/agent-java-sdk)

<h2 id="runtime">
  Runtime
</h2>

| Item                 | Value                                        |
| -------------------- | -------------------------------------------- |
| Minimum Java version | Java 8+                                      |
| Maven group          | com.sixmm.agent                              |
| Maven artifact       | sixmm-agent-sdk                              |
| Current version      | Contact 6MM for the approved package version |

<h2 id="typical-backend-responsibilities">
  Typical backend responsibilities
</h2>

* Validate the partner user session.
* Map the partner user to agentUserId.
* Call bind before first trading or transfer flows.
* Call createEntryUrl for one-time full-site SSO.
* Call createEmbedToken for Trading Widget partner-token mode.
* Verify transfer webhooks and process them idempotently.