{"id":392439,"date":"2026-10-28T04:58:32","date_gmt":"2026-10-28T04:58:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/zactonz-ai-connector-for-xai-grok\/"},"modified":"2026-10-28T04:58:21","modified_gmt":"2026-10-28T04:58:21","slug":"zactonz-ai-connector-for-xai-grok","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zactonz-ai-connector-for-xai-grok\/","author":18330764,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"7.0","requires_php":"7.4","requires_plugins":null,"header_name":"Zactonz AI Connector for xAI Grok","header_author":"Zactonz Technologies","header_description":"Adds an xAI Grok connector to Settings > Connectors for the WordPress AI Client, including image generation.","assets_banners_color":"c8cacd","last_updated":"2026-10-28 04:58:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/developers.zactonz.com\/wordpress\/plugins\/zactonz-ai-connector-for-xai-grok\/","header_author_uri":"https:\/\/zactonz.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":60,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"zactonz","date":"2026-10-28 04:58:21","revision":3769920}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3769920,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3769920,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3769920,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3769920,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3769920,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[259736,25308,247056,25198,257829],"plugin_category":[],"plugin_contributors":[192021],"plugin_business_model":[],"class_list":["post-392439","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-client","plugin_tags-connector","plugin_tags-grok","plugin_tags-image-generation","plugin_tags-xai","plugin_contributors-zactonz","plugin_committers-zactonz"],"banners":{"banner":"https:\/\/ps.w.org\/zactonz-ai-connector-for-xai-grok\/assets\/banner-772x250.png?rev=3769920","banner_2x":"https:\/\/ps.w.org\/zactonz-ai-connector-for-xai-grok\/assets\/banner-1544x500.png?rev=3769920","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/zactonz-ai-connector-for-xai-grok\/assets\/icon.svg?rev=3769920","icon":"https:\/\/ps.w.org\/zactonz-ai-connector-for-xai-grok\/assets\/icon.svg?rev=3769920","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin by <a href=\"https:\/\/zactonz.com\/\">Zactonz Technologies<\/a> adds <a href=\"https:\/\/x.ai\/\">xAI Grok<\/a> as an AI provider for the WordPress AI Client. It is built for the WordPress <strong>Settings &gt; Connectors<\/strong> screen and for the plugin directory connector search, so a site owner who needs xAI Grok can find it, install it, paste a key, and have every AI feature in WordPress start using it.<\/p>\n\n<p>xAI publishes the Grok family for text, vision, and image generation. This connector reads the richer xAI model endpoint, so each Grok model arrives in WordPress with the input and output modalities xAI reports, and image models are wired to the image generation endpoint rather than chat.<\/p>\n\n<p><strong>Disclaimer:<\/strong> this connector is developed by Zactonz Technologies and is not affiliated with, endorsed by, or sponsored by xAI Grok. xAI and Grok are trademarks of X.AI Corp.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Text generation with every xAI Grok chat model your credentials can reach<\/li>\n<li>Automatic model discovery, taking each model's capabilities from the provider's own catalogue wherever it publishes them<\/li>\n<li>Separate default model per capability, or automatic selection by the WordPress AI Client<\/li>\n<li>Vision input on models that accept images<\/li>\n<li>Tool calling on models that report function support<\/li>\n<li>Structured output with a JSON schema on models that support it<\/li>\n<li>Image generation on models that produce images<\/li>\n<li>Reasoning effort control for the default text model<\/li>\n<li>Cancellable server-sent event streaming for content, reasoning, and tool-call chunks<\/li>\n<li>Configurable request timeouts for text and images<\/li>\n<li>API key supplied by a PHP constant or an environment variable instead of the database<\/li>\n<li>An API base URL override for a proxy or gateway, within the hosts and ports WordPress permits outbound requests to<\/li>\n<li>Redacted diagnostics and a WordPress Site Health connectivity test<\/li>\n<\/ul>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>PHP 7.4 or higher<\/li>\n<li>WordPress 7.0 or higher<\/li>\n<li>An xAI Grok account and API key<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin sends requests to xAI Grok, a third-party service, and does nothing without it. Requests go to the xAI Grok API at <code>https:\/\/api.x.ai\/v1<\/code>, or to the API base URL you set in the connector settings.<\/p>\n\n<p><strong>What is sent and when:<\/strong> the API key you configure, and the prompts, images, tool definitions and generation settings that a WordPress AI feature passes to the AI Client, each time such a feature runs a request through this connector. The connector also requests the model catalogue when its settings screen loads, when a WordPress AI feature asks which models are available, and when you run diagnostics or the Site Health test. No other data is sent.<\/p>\n\n<p><strong>Service provider:<\/strong> xAI Grok (<a href=\"https:\/\/x.ai\/legal\/terms-of-service\">terms of service<\/a>, <a href=\"https:\/\/x.ai\/legal\/privacy-policy\">privacy policy<\/a>).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/zactonz-ai-connector-for-xai-grok\/<\/code>, or install the plugin through the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Connectors<\/strong> and add your xAI Grok API key.<\/li>\n<li>Go to <strong>Settings &gt; xAI Grok<\/strong> to review the discovered models and choose a default model per capability.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20an%20api%20key%3F\"><h3>Where do I get an API key?<\/h3><\/dt>\n<dd><p>Create one on the xAI Grok dashboard: https:\/\/console.x.ai\/<\/p><\/dd>\n<dt id=\"can%20i%20keep%20the%20key%20out%20of%20the%20database%3F\"><h3>Can I keep the key out of the database?<\/h3><\/dt>\n<dd><p>Yes. Define <code>XAI_API_KEY<\/code> in <code>wp-config.php<\/code>, or set an environment variable of the same name. When either is present the connector uses it, the settings field is disabled, and nothing is written to the database.<\/p><\/dd>\n<dt id=\"which%20models%20will%20i%20see%3F\"><h3>Which models will I see?<\/h3><\/dt>\n<dd><p>Models are listed from the xAI API. Each model is offered as vision, tool-calling, structured-output or image-generation capable according to what xAI Grok publishes about it, and the connector falls back to the model identifier only where xAI Grok publishes nothing.<\/p><\/dd>\n<dt id=\"does%20this%20replace%20the%20connectors%20in%20wordpress%20core%3F\"><h3>Does this replace the connectors in WordPress core?<\/h3><\/dt>\n<dd><p>No. WordPress core ships its own connectors. This plugin adds xAI Grok alongside them, and you can keep several connectors active at once and pick a default model per capability.<\/p><\/dd>\n<dt id=\"is%20my%20key%20ever%20displayed%20or%20logged%3F\"><h3>Is my key ever displayed or logged?<\/h3><\/dt>\n<dd><p>No. The key is stored in its own option, is never rendered back into the settings screen, and is excluded from the diagnostics report and from Site Health debug information.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Registers xAI Grok with the WordPress AI Client and the Settings &gt; Connectors screen.<\/li>\n<li>Discovers models from the provider and advertises only the capabilities the provider reports.<\/li>\n<li>Adds per-capability default model selection, reasoning effort, a configurable timeout, and an API base URL override.<\/li>\n<li>Streams text responses token by token through the WordPress HTTP API, aggregating content, reasoning, tool calls, and usage.<\/li>\n<li>Adds a redacted diagnostics report and a WordPress Site Health connectivity test.<\/li>\n<li>Supports an API key supplied by a PHP constant or an environment variable.<\/li>\n<\/ul>","raw_excerpt":"Adds an xAI Grok connector to Settings &gt; Connectors for the WordPress AI Client, including image generation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/392439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=392439"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zactonz"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=392439"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=392439"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=392439"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=392439"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=392439"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=392439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}