These steps require an admin in the Onshape Professional/Company.Documentation Index
Fetch the complete documentation index at: https://docs.trymechai.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
API keys
What is an API key? An Onshape API key lets MechAI perform the specific Onshape actions you approve. You create it in Onshape, choose its permissions, and can revoke it at any time. What do we use your API key for? Only to share and retrieve task-related documents with the MechAI agent account. This includes the document you queue and any external references needed to complete that assigned task. We do not use it to browse unrelated documents, make purchases, manage users, or change account settings.Create an API key
Create a customer-owned Onshape API key (access & secret key) from an admin account, owner account, or service account in “Company settings > Developer”. Click “API Keys”.
Select permissions
Select these permissions:
- Application can read your documents
- Application can write to your documents
- Application can delete your documents and workspaces
- Application can share and unshare documents on your behalf

Share Resources
Share drawing templates
Share the DWTs for your standard drawing templates with the MechAI account, team@trymechai.com.Share each drawing template MechAI should support, such as part drawings, assembly drawings, customer-specific title blocks, and size variants.
