{"id":5769,"date":"2026-08-24T14:30:49","date_gmt":"2026-08-24T05:30:49","guid":{"rendered":"https:\/\/storecrm.com\/help\/?p=5769"},"modified":"2026-09-28T19:58:18","modified_gmt":"2026-09-28T10:58:18","slug":"ai-assistant","status":"publish","type":"post","link":"https:\/\/storecrm.com\/help\/en\/setting\/ai-assistant\/","title":{"rendered":"Use AI Assistant"},"content":{"rendered":"<p>StoreCRM AI Assistant helps you check how to perform operations, search help content, and create drafts such as email. In addition to the web-based AI Assistant, you can issue an AI API credential and use StoreCRM Skill\/API integrations from supported external AI tools.<\/p>\n<p><strong>About MCP:<\/strong>StoreCRM does not currently provide an MCP server that can be registered with general-purpose MCP clients. You cannot connect by adding a StoreCRM URL directly to MCP settings in Claude Desktop, Codex, or similar tools. To use StoreCRM from an external AI tool, use the AI API credential described on this page and a supported StoreCRM Skill\/API integration.<\/p>\n<!--  --><p><strong>When using Codex or Claude Code:<\/strong><a href='https:\/\/storecrm.com\/help\/en\/setting\/ai-assistant-external-client\/'>Use StoreCRM from Codex or Claude Code<\/a>for step-by-step instructions covering Skill download, installation, environment variables, connection verification, example requests, and web approval.<\/p><!--  -->\n<h2>Open the web AI Assistant<\/h2><p>Click the AI Assistant icon in the lower-right corner of StoreCRM. Enter your question or what you want to create, and click [Send]. Do not enter personal data, confidential information, tokens, or passwords.<\/p>\n<h2>Ask how to perform an operation<\/h2><p>Ask a question such as \u201cHow do I create a scenario?\u201d to see instructions and the StoreCRM help pages used as sources. Follow the source links to confirm the latest setup steps.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-assistant-knowledge-answer-20260903.png' alt='AI Assistant showing instructions and referenced help pages' class=\"wp-image-6155\"\/><\/figure>\n<h2>Continue a conversation from the last 30 days<\/h2><p>Click the clock icon to view conversations from the last 30 days associated with the current staff member. Select a conversation to continue with its context.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-assistant-history-20260903.png' alt='AI Assistant conversation history from the last 30 days' class=\"wp-image-6157\"\/><\/figure>\n<h2>Create a draft and review it on the web<\/h2><ol><li>Describe specifically what you want to create and its purpose.<\/li><li>Review the generated draft summary and click [Review on web].<\/li><li>On the review screen, check the draft ID, operation, number of affected items, planned changes, and safety status.<\/li><li>Open the original StoreCRM screen, review the content and affected items again, and perform the required operation.<\/li><\/ol>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-assistant-draft-result-20260903.png' alt='Draft created by AI Assistant and link to web review' class=\"wp-image-6159\"\/><\/figure>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-assistant-review-20260903.png' alt='Draft summary and safety status on the AI Assistant review and approval screen' class=\"wp-image-6161\"\/><\/figure>\n\n\n\n<!-- storecrm-help-redo-v4:ai-handoff:start -->\n<h2 class=\"wp-block-heading\">AI the draft created by AI to the screen<\/h2>\n<p class=\"wp-block-paragraph\">When AI Assistant creates a segment, campaign, scenario, or other resource, it automatically opens that resource's review and edit screen. The editing context for the AI-created resource is preserved after navigation.<\/p>\n<ul class=\"wp-block-list\"><li>The campaign will be pre-filled to the creation screen. It is not automatically saved and automatically released.<\/li><li>scenarios are created with the necessary email, LINE, segments, and other dependencies, and then transferred to the top-level flow editor.<\/li><li>In the confirmation screen, check the target conditions, ex s, contents of transmission, order of execution, and unresolved references, and then make necessary corrections and save them.<\/li><li>If the screen move or creation fails, open the result of the conversation and check the state without duplicate creation.<\/li><\/ul>\n<!-- storecrm-help-redo-v4:ai-handoff:end -->\n\n<h2>Create an AI API credential for an external AI tool<\/h2><ol><li>In StoreCRM, open [Settings] \u2192 [AI Settings].<\/li><li>Enter a name for the AI API credential. Use a name that identifies the device or tool, such as \u201cClaude\/Codex local.\u201d<\/li><li>Select a permission profile.<\/li><li>Set an expiration date if needed, and create the credential.<\/li><\/ol>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-api-credential-create-20260903.png' alt='AI Settings screen for configuring an external AI API credential name, permissions, and expiration date' class=\"wp-image-6163\"\/><\/figure>\n<h3>Choosing a permission profile<\/h3><ul><li><strong>read_only\uff1a<\/strong>Allows only reading, explanations, validation, and retrieval of masked information.<\/li><li><strong>draft_only (recommended):<\/strong>Allows creating and updating drafts in addition to reading. This profile is recommended for a first connection.<\/li><li><strong>elevated\uff1a<\/strong>Allows proposals for high-risk operations. It does not allow direct sending, deletion, or similar actions to run automatically without confirmation.<\/li><\/ul><p>Select the minimum permissions required for the intended use and revoke credentials when they are no longer needed.<\/p>\n<h2>Store the displayed connection information securely<\/h2><p>Immediately after creation, the raw token and the following environment variables are displayed once.<\/p>\n<pre class='wp-block-code'><code>STORECRM_AI_API_BASE_URL=...\nSTORECRM_AI_API_TOKEN=...\nSTORECRM_TENANT_ID=...<\/code><\/pre>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-api-token-once-20260903.png' alt='Token and environment variables displayed once after creating an AI API credential' class=\"wp-image-6165\"\/><\/figure>\n<ul><li>Before closing the display, save them in secure environment variables or secret storage used by the external AI tool.<\/li><li>Do not paste the token into source code, Git, Jira, chat, or help pages.<\/li><li>The raw token cannot be displayed again after you close the screen. Issue a new one if it is lost.<\/li><\/ul>\n<h2>Connect to a supported StoreCRM Skill\/API integration<\/h2><p>Follow the instructions for the supported StoreCRM Skill\/API integration and set the three environment variables above. These values are not entered in the [MCP server URL] field of a general-purpose MCP client. After connecting, first ask a read-only question to confirm that the tenant and permissions are correct.<\/p>\n<h2>Rotate or revoke a credential<\/h2><ul><li><strong>Rotation:<\/strong>Issue a new token and update the external AI tool. The old token immediately becomes unusable.<\/li><li><strong>Revoke or delete:<\/strong>Revoke or delete the credential if a device is lost, a leak is suspected, or the integration is no longer used.<\/li><li><strong>Permission changes:<\/strong>Review permissions when the required operations change and continue using the minimum permissions needed.<\/li><\/ul>\n<h2>Approval and safety notes<\/h2><p>Operations from external AI tools are also subject to StoreCRM permissions, auditing, and draft protections. For sending, scheduling, activation, deletion, bulk updates, and similar operations, review the content and affected items on the original StoreCRM screen. Proposals requiring a web review session appear in the pending approvals list in AI Settings.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-ai-assistant-approval-20260903.png' alt='AI Assistant pre-approval notice and link to pending approvals' class=\"wp-image-6167\"\/><\/figure>\n<h2>If the assistant cannot answer or connect<\/h2><ul><li>Start a new conversation if the web conversation has expired.<\/li><li>In the external AI tool, confirm that all three environment variables are set and contain no extra spaces or line breaks.<\/li><li>Check the credential's expiration date, revocation status, and permission profile.<\/li><li>The old token cannot connect after rotation. Update the external AI tool with the new value.<\/li><li>A connection configured as an MCP server will not work. Use a supported StoreCRM Skill\/API integration.<\/li><li>If an AI result differs from the actual StoreCRM settings, treat the StoreCRM screen as authoritative.<\/li><\/ul>","protected":false},"excerpt":{"rendered":"StoreCRM AI\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306f\u3001\u64cd\u4f5c\u65b9\u6cd5\u306e\u78ba\u8a8d\u3001\u30d8\u30eb\u30d7\u691c\u7d22\u3001\u30e1\u30fc\u30eb\u306a\u3069\u306e\u4e0b\u66f8\u304d\u4f5c\u6210\u3092\u652f\u63f4\u3057\u307e\u3059\u3002Web\u753b [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-5769","post","type-post","status-publish","format-standard","hentry","category-setting"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/comments?post=5769"}],"version-history":[{"count":14,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5769\/revisions"}],"predecessor-version":[{"id":7237,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5769\/revisions\/7237"}],"wp:attachment":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/media?parent=5769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/categories?post=5769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/tags?post=5769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}