{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new integration for the specified application. Integration creation with OAuth is not supported by API at the moment. For other auth methods, use `GET /v2/applications/{application_id}/credential-guide` to see the required credential structure and example payloads for each vendor.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Cloudflare account identifier."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/one_IntegrationV2CreateRequest","examples":[{"application":"GOOGLE_WORKSPACE","auth_method":"service_account","credentials":{"admin_email":"admin@corp.com"},"dlp_profiles":["e91a2360-da51-4fdf-9711-bcdecd462614"],"name":"My Google Workspace","permissions":["https://www.googleapis.com/auth/drive.readonly"],"use_cases":["casb","ces"]}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"one_IntegrationV2CreateRequest":{"description":"Serializer for v2 integration create requests.","type":"object","properties":{"application":{"description":"Vendor/application slug (e.g., GOOGLE_WORKSPACE).\n\n* `ANTHROPIC` - ANTHROPIC\n* `AWS` - AWS\n* `BITBUCKET` - BITBUCKET\n* `BOX` - BOX\n* `CONFLUENCE` - CONFLUENCE\n* `DROPBOX` - DROPBOX\n* `GITHUB` - GITHUB\n* `GOOGLE_CLOUD_PLATFORM` - GOOGLE_CLOUD_PLATFORM\n* `GOOGLE_WORKSPACE` - GOOGLE_WORKSPACE\n* `JIRA` - JIRA\n* `MICROSOFT_INTERNAL` - MICROSOFT_INTERNAL\n* `OPENAI` - OPENAI\n* `SALESFORCE` - SALESFORCE\n* `SERVICENOW` - SERVICENOW\n* `SLACK` - SLACK\n* `ZOOM` - ZOOM","type":"string","enum":["ANTHROPIC","AWS","BITBUCKET","BOX","CONFLUENCE","DROPBOX","GITHUB","GOOGLE_CLOUD_PLATFORM","GOOGLE_WORKSPACE","JIRA","MICROSOFT_INTERNAL","OPENAI","SALESFORCE","SERVICENOW","SLACK","ZOOM"]},"auth_method":{"description":"Authentication method slug (uses default if omitted).","type":["string","null"],"minLength":1},"credentials":{"description":"Credentials for the integration.","type":"object","additionalProperties":true},"dlp_profiles":{"description":"List of DLP profile IDs to associate.","type":"array","items":{"format":"uuid","type":"string"},"maxItems":20},"name":{"description":"Name of the integration.","type":"string","maxLength":256,"minLength":1},"permissions":{"description":"List of permission scopes (uses policy defaults if empty).","type":"array","items":{"minLength":1,"type":"string"}},"use_cases":{"description":"List of use case or feature slugs to enroll. At least one use case (casb, ces) is required; auto_remediation may be added alongside casb (e.g., ['casb', 'ces', 'auto_remediation']).","type":"array","items":{"description":"* `casb` - casb\n* `ces` - ces\n* `auto_remediation` - auto_remediation","enum":["casb","ces","auto_remediation"],"type":"string"}}},"required":["application","credentials","name","use_cases"]}}},"name":"Create integration","id":"cloudflare.create_integration_v2","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"application":"ANTHROPIC","credentials":{},"name":"example","use_cases":[]}},"maxRequests":1,"summary":false}}