{"id":2226,"date":"2026-08-11T09:57:36","date_gmt":"2026-08-11T07:57:36","guid":{"rendered":"https:\/\/xabia.ai\/xabia-mec\/"},"modified":"2026-08-11T10:36:36","modified_gmt":"2026-08-11T09:36:36","slug":"xabia-mec","status":"publish","type":"page","link":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/","title":{"rendered":"Xabia MEC"},"content":{"rendered":"<h1> User manual \u2014 Xabia Modern Events Calendar (MEC add-on)<\/h1>\n<blockquote>\n<p> <strong>Addon:<\/strong> Xabia MEC <strong>v1.0.3<\/strong> \u00b7 <strong>Core required:<\/strong> <strong>\u2265 1.0.166<\/strong> (recommended)<\/p>\n<\/blockquote>\n<h2> Quick Installation Guide<\/h2>\n<ol>\n<li> Install and activate <strong>Xabia Agent Core<\/strong> ( <code>v1.0.166<\/code> or higher recommended).<\/li>\n<li> Install and activate the <strong>Xabia MEC<\/strong> ZIP ( <code>xabia-mec-1.0.3.zip<\/code> ) from <strong>Plugins \u2192 Add new \u2192 Upload plugin<\/strong> .<\/li>\n<li> In <strong>Xabia Agent \u2192 Addons<\/strong> , activate or synchronize the <strong>xabia-mec<\/strong> subscription until you see <strong>Hub Polar: active<\/strong> .<\/li>\n<li> If the events are on the same WordPress site, also activate <strong>Modern Events Calendar<\/strong> and publish <code>mec-events<\/code> .<\/li>\n<li> If the events are on another website, a local MEC is not needed: fill in the remote SQL credentials in the agent and use <strong>Information Source \u2192 Native Addon \u2192 MEC<\/strong> .<\/li>\n<li> Click <strong>Connect and Map<\/strong> , review the column preset, and save the agent.<\/li>\n<li> Click <strong>Sync Data<\/strong> and, if using vector search, <strong>Train AI<\/strong> .<\/li>\n<li> Try asking questions like \u201cwhat events are happening this weekend?\u201d in <strong>Playground<\/strong> before publishing the shortcode.<\/li>\n<\/ol>\n<p> <strong>CPT Assistant (\u2265 Core 1.0.162):<\/strong> with MEC addon source, lists only <code>mec-events<\/code> (validates in remote SQL if a host exists). <strong>Hybrid Remote (\u2265 1.0.163):<\/strong> if you configure a SQL host, the catalog is treated as remote even if MEC is installed locally (avoids mixing IDs). Deep schema includes <code>mec_available_slots<\/code> and <code>mec_*<\/code> tags.<\/p>\n<hr>\n<h2> Part 1 \u2014 What it is and what it is for<\/h2>\n<h3> 1.1 Brief definition<\/h3>\n<p> <strong>Xabia MEC<\/strong> is a standalone <strong>plugin<\/strong> that is installed alongside <strong>Xabia Agent Core<\/strong> . It connects your assistant (for example, <strong>Izar<\/strong> or another configured agent) with <strong>Modern Events Calendar (MEC)<\/strong> to:<\/p>\n<ul>\n<li> <strong>Synchronize<\/strong> the site&#8217;s event calendar to the agent&#8217;s <strong>knowledge base<\/strong> (text and, if configured, vectors for semantic search).<\/li>\n<li> Respond with <strong>dates, locations, prices, categories,<\/strong> and texts taken from the published events.<\/li>\n<li> Show <strong>available slots<\/strong> when MEC has defined capacity and registered reservations (calculated field <code>mec_available_slots<\/code> ).<\/li>\n<li> Offer <strong>booking buttons<\/strong> ( <code>[ACTION:BOOK]<\/code> ) that take the visitor to the <strong>event page<\/strong> with a booking anchor ( <code>#book<\/code> ) when the event has <strong>booking\/tickets<\/strong> set up in MEC.<\/li>\n<li> Optionally expose a <strong>REST feed<\/strong> for <strong>federation<\/strong> (Xabia Central or other nodes) with published events and knowledge-aligned metadata.<\/li>\n<\/ul>\n<p> It does not replace the MEC panel or the legal settings for pricing, cancellations, or payment gateways; it is a <strong>layer of conversation and information<\/strong> about the data you already have in WordPress.<\/p>\n<h3> 1.2 What problem does it solve?<\/h3>\n<p> Without this add-on, an assistant can only <strong>make up<\/strong> dates or copy static text.<\/p>\n<p>With <strong>Xabia MEC<\/strong> , responses can be based on <strong>SQL queries coordinated<\/strong> to <code>mec-events<\/code> posts and regular MEC metadata, and on context rules that help AI interpret questions like &#8220;what&#8217;s happening this weekend?&#8221; or &#8220;are there any places left?&#8221;.<\/p>\n<h3> 1.3 Product identification (useful reference)<\/h3>\n<ul>\n<li> <strong>Checkout Polar (subscription):<\/strong> <a href=\"https:\/\/buy.polar.sh\/polar_cl_wEzwnqMvZIrPelny1I5HNIsdcVjGs1UO12Roj3zzxIm\">https:\/\/buy.polar.sh\/polar_cl_wEzwnqMvZIrPelny1I5HNIsdcVjGs1UO12Roj3zzxIm<\/a><\/li>\n<li> <strong>Polar Product ID (UUID):<\/strong> <code>8078756b-c566-4557-a55d-3712d8e47c44<\/code> \u2014 you can request it from support if you manage billing or webhook in the Hub.<\/li>\n<\/ul>\n<h3> 1.4 Essential requirements<\/h3>\n<table>\n<thead>\n<tr>\n<th> Requirement<\/th>\n<th> What does it mean to you?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>WordPress<\/strong> working<\/td>\n<td> Core and Xabia MEC are WordPress plugins.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Xabia Agent Core<\/strong> v <strong>1.0.57 or higher recommended<\/strong> installed and <strong>active<\/strong><\/td>\n<td> Without the Core, the <strong>Xabia MEC<\/strong> plugin displays a warning and <strong>does not load<\/strong> the integration.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Xabia MEC plugin<\/strong> installed and <strong>active<\/strong><\/td>\n<td> The SQL connector, row enrichment, and <strong>MEC Bridge<\/strong> menu are now part of this plugin (they are <strong>no longer<\/strong> included in the Core ZIP file).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Modern Events Calendar (Lite or Pro)<\/strong> active and with content type <strong>mec-events<\/strong><\/td>\n<td> Required when the events are on the same WordPress site. In a remote scenario, MEC can be on the source website only, and Xabia MEC connects via SQL from the chat site.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Polar \/ Hub subscription<\/strong> for the <strong>xabia-mec<\/strong> slug<\/td>\n<td> Synchronization of the &#8220;premium&#8221; connector and use of the booking engine in chat are validated against the <strong>Hub<\/strong> from <strong>Xabia Agent \u2192 Addons<\/strong> . Without an active subscription, you may see <strong>&#8220;Hub Polar: inactive&#8221;<\/strong> and the <strong>&#8220;Synchronize data&#8221;<\/strong> button disabled when the agent uses the <strong>MEC Addon<\/strong> source.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Optional:<\/strong> Core <strong>reservations<\/strong> add-on ( <code>integrations\/reservas<\/code> )<\/td>\n<td> To unify reservation intent and availability rules with MEC in the prompts system.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2> Part 2 \u2014 Step-by-step installation<\/h2>\n<h3> 2.1 Before starting<\/h3>\n<ol>\n<li> Have the <strong>ZIP files<\/strong> : <strong>Xabia Agent Core<\/strong> and <strong>Xabia MEC<\/strong> (and MEC from the official Webnus repository if you don&#8217;t already have it).<\/li>\n<li> Confirm that your hosting allows <strong>REST API<\/strong> ( <code>\/wp-json\/<\/code> ) if you will be using <strong>federation<\/strong> or cloud integrations.<\/li>\n<\/ol>\n<h3> 2.2 Recommended activation order<\/h3>\n<ol>\n<li> <strong>Xabia Agent Core<\/strong> \u2192 Activate.<\/li>\n<li> <strong>Modern Events Calendar<\/strong> \u2192 Activate.<\/li>\n<li> <strong>Xabia MEC<\/strong> \u2192 Activate <strong>after<\/strong> Core.<\/li>\n<\/ol>\n<p> If you activate <strong>Xabia MEC<\/strong> without the Core, you will see a warning on the desktop: you must first activate <strong>Xabia Agent Core<\/strong> .<\/p>\n<h3> 2.3 Install Xabia MEC from ZIP<\/h3>\n<ol>\n<li> Log in as <strong>administrator<\/strong> .<\/li>\n<li> <strong>Plugins \u2192 Add new \u2192 Upload plugin<\/strong> .<\/li>\n<li> Choose the <strong>Xabia MEC<\/strong> ZIP file.<\/li>\n<li> <strong>Install now<\/strong> \u2192 <strong>Activate plugin<\/strong> .<\/li>\n<\/ol>\n<h3> 2.4 Verify that WordPress recognizes the plugin<\/h3>\n<p> <strong>Xabia MEC<\/strong> should appear in <strong>Plugins<\/strong> . In <strong>Xabia Agent \u2192 Addons<\/strong> , the <strong>&#8220;Xabia \u2014 Modern Events Calendar&#8221;<\/strong> card should display the <strong>WordPress<\/strong> status (active \/ installed \/ not installed) next to the <code>xabia-mec\/xabia-mec.php<\/code> file.<\/p>\n<hr>\n<h2> Part 3 \u2014 \u201cAddons\u201d screen: Polar subscription and license<\/h2>\n<p> Open <strong>Xabia Agent \u2192 Addons<\/strong> .<\/p>\n<p>There you can manage <strong>all<\/strong> the commercial options of the MEC add-on.<\/p>\n<h3> 3.1 General screen texts<\/h3>\n<ul>\n<li> <strong>Title &#8220;Addons&#8221;<\/strong> and subtitle: explain that the <strong>Hub Polar<\/strong> badges are the valid subscription on the Xabia server, <strong>independent<\/strong> of whether the plugin is active in WordPress.<\/li>\n<li> <strong>&#8220;Sync licenses with the hub&#8221; button<\/strong> (Polar area top bar): Forces the Hub to re-verify <strong>all<\/strong> subscription cards. Use this after paying in Polar or pasting a new key.<\/li>\n<li> <strong>&#8220;Open WordPress plugins&#8221;<\/strong> : Quick access to <strong>plugins<\/strong> in case you need to activate <strong>Xabia MEC<\/strong> .<\/li>\n<\/ul>\n<h3> 3.2 &#8220;Xabia \u2014 Modern Events Calendar&#8221; card \u2014 each item<\/h3>\n<table>\n<thead>\n<tr>\n<th> Element<\/th>\n<th> What is<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>&#8220;Polar Hub: active \/ inactive&#8221; badge<\/strong><\/td>\n<td> Indicates whether your <strong>license<\/strong> includes the <strong>xabia-mec<\/strong> add-on according to the Hub. Do not confuse this with the status of the WP plugin.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Renewal notice<\/strong> (if displayed)<\/td>\n<td> If your renewal is near, the system may display a <strong>banner<\/strong> with days remaining; use the link to <strong>Polar<\/strong> to renew.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Icon and title<\/strong><\/td>\n<td> Visual identification of the product.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Price \/ rates<\/strong><\/td>\n<td> This text is for guidance only; current rates are always available at <strong><a href=\"https:\/\/xabia.ai\/en\/price\/\">xabia.ai\/precio<\/a><\/strong> and the final amount is confirmed by <strong>Polar<\/strong> at checkout.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Short description<\/strong><\/td>\n<td> Commercial summary of functions (events, places, assisted booking).<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;The plugin is active&#8230; Polar Hub: inactive&#8221;<\/strong><\/td>\n<td> <strong>Consistency<\/strong> notice: The ZIP file is active but the Hub does not yet recognize the subscription \u2014 check the key and press <strong>Sync License<\/strong> on the card or the Hub&#8217;s global button.<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Status on WordPress:&#8221;<\/strong><\/td>\n<td> <strong>active<\/strong> \/ <strong>installed (inactive)<\/strong> \/ <strong>not installed<\/strong> , plus the path <code>xabia-mec\/xabia-mec.php<\/code> .<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;License Key&#8221; field<\/strong><\/td>\n<td> Paste the <strong>same key<\/strong> shown in Polar \/ the purchase email (it must match <strong>character for character<\/strong> with the site license; it is usually the same as in <strong>AI Connection<\/strong> ).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Help text under the key<\/strong><\/td>\n<td> It indicates that the Hub activates the add-on on the site license.<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Active subscription with the main site license&#8221;<\/strong><\/td>\n<td> If the Hub validated the addon using the <strong>Core license<\/strong> without a separate key in the field (according to the provider&#8217;s configuration).<\/td>\n<\/tr>\n<tr>\n<td> <strong>State block<\/strong><\/td>\n<td> Displays <strong>registration<\/strong> and <strong>expiry\/renewal<\/strong> dates if the Hub returns them.<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Sync license&#8221; button<\/strong> (ghost):** checks the Hub again <strong>only<\/strong> for this addon.<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Activate&#8221; or &#8220;Update subscription&#8221; button<\/strong> : saves the form (including the nonce) and <strong>persists<\/strong> the key in the site&#8217;s database.<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Subscribe&#8221;<\/strong> (if the Hub says inactive): opens the <strong>Polar checkout<\/strong> for the MEC product: <a href=\"https:\/\/buy.polar.sh\/polar_cl_wEzwnqMvZIrPelny1I5HNIsdcVjGs1UO12Roj3zzxIm\">purchase link<\/a> .<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Manage in Polar&#8221;<\/strong> (if already active): opens the <strong>customer portal<\/strong> configured in the catalog (subscription management, invoices, payment method).<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3> 3.3 After buying from Polar<\/h3>\n<ol>\n<li> Copy the <strong>license key<\/strong> that Polar gives you.<\/li>\n<li> In <strong>Addons<\/strong> , paste it onto the MEC card and press <strong>Activate<\/strong> \/ <strong>Update subscription<\/strong> .<\/li>\n<li> Click <strong>Sync License<\/strong> or <strong>Sync Licenses with the global hub<\/strong> .\n<\/li>\n<li>Wait a few minutes if the Hub applies delayed activation and reload the <strong>Addons<\/strong> page.<\/li>\n<\/ol>\n<hr>\n<h2> Part 4 \u2014 Agent Configuration (source \u00abAddon MEC\u00bb)<\/h2>\n<p> Enter <strong>Xabia Agent<\/strong> , create or <strong>edit<\/strong> the agent that should know about the events.<\/p>\n<h3> 4.1 Select font type<\/h3>\n<p> In <strong>\u00abSource of information\u00bb<\/strong> ( <code>source_type<\/code> ):<\/p>\n<ul>\n<li> Choose <strong>&#8220;Native Addons (External Connector)&#8221;<\/strong> only if your Core installation detects active <strong>native connectors<\/strong> (includes <strong>Xabia MEC<\/strong> when the Hub and MEC license in WordPress are correct).<\/li>\n<li> If you don&#8217;t see the option enabled, check that <strong>Xabia MEC<\/strong> is <strong>active<\/strong> and that <strong>Addons<\/strong> shows <strong>Hub Polar: active<\/strong> for MEC.<\/li>\n<\/ul>\n<h3> 4.2 Addon selector ( <code>addon_slug<\/code> )<\/h3>\n<p> In the section that appears when you choose <strong>Addon<\/strong> , expand the list and select the entry named <strong>MEC \u2014 Modern Events Calendar<\/strong> (internal slug <strong><code>mec<\/code><\/strong> ). This is the connector registered by the Xabia MEC plugin.<\/p>\n<h3> 4.3 Informative notice below the selector<\/h3>\n<p> When <strong>MEC<\/strong> is selected, you will see the text with the icon:<\/p>\n<blockquote>\n<p> <strong>MEC Add-on active: Reservation and availability fields are automatically synchronized.<\/strong><\/p>\n<\/blockquote>\n<p> It serves as a reminder that you <strong>don&#8217;t<\/strong> have to manually invent columns of &#8220;places&#8221; if you use the standard preset.<\/p>\n<h3> 4.4 <strong>&#8220;Connect and Map&#8221;<\/strong> Button<\/h3>\n<ol>\n<li> Press <strong>&#8220;Connect and Map&#8221;<\/strong> .<\/li>\n<li> The system executes a <strong>test query<\/strong> with the connector&#8217;s SQL (up to one row) to list actual <strong>columns<\/strong> .<\/li>\n<li> If the Hub license is <strong>not<\/strong> active for MEC, you will see an <strong>error<\/strong> indicating that the subscription is required; you will not be able to prefix the mapping until it is activated.<\/li>\n<li> If all goes well, it receives columns and, for MEC, a <strong>preset<\/strong> of mapping rows ( <code>fields<\/code> ) that it can apply to the attribute table.<\/li>\n<\/ol>\n<h3> 4.5 Mapping preset fields (official catalog)<\/h3>\n<p> Each row in the mapping has: <strong>a CSV\/SQL column<\/strong> , <strong>a readable label<\/strong> , <strong>a visual role<\/strong> , <strong>an ENTITY<\/strong> (checkbox), and <strong>a statement<\/strong> . The logical order of the connector is:<\/p>\n<table>\n<thead>\n<tr>\n<th> SQL column<\/th>\n<th> Suggested role<\/th>\n<th> ENTITY<\/th>\n<th> What is it for?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>ID<\/strong><\/td>\n<td> (none special)<\/td>\n<td> Yes \u2014 registration identity<\/td>\n<td> Post ID <code>mec-events<\/code> ; essential for <strong>bookings<\/strong> and deduplication.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Event<\/strong><\/td>\n<td> Qualification<\/td>\n<td> No<\/td>\n<td> Event name in chat and searches.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Date<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Start date in <strong>Ymd<\/strong> format (filters &#8220;weekend&#8221;, &#8220;upcoming&#8221;, etc.).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Hour<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Text composed of MEC time (hour, minutes, AM\/PM if applicable).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Place<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Content of <code>mec_location<\/code> .<\/td>\n<\/tr>\n<tr>\n<td> <strong>mec_available_slots<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Calculated <strong>available spaces<\/strong> (capacity \u2212 confirmed reservations);<\/p>\n<p>It can remain empty if there is no top.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Link<\/strong><\/td>\n<td> URL<\/td>\n<td> No<\/td>\n<td> During synchronization, it is replaced by the actual <strong>permalink<\/strong> and the <code>#book<\/code> filter when applicable.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Price<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Meta <code>mec_cost<\/code> or default text \u201cConsult\u201d.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Description<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> Post content (HTML is indexed according to the Core pipeline).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Categories_Tags<\/strong><\/td>\n<td> \u2014<\/td>\n<td> No<\/td>\n<td> List of linked terms (MEC taxonomies).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Image_URL<\/strong><\/td>\n<td> Image<\/td>\n<td> No<\/td>\n<td> URL of the featured image, if one exists.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> You can <strong>add<\/strong> extra columns with <strong>CPT Wizard<\/strong> or other Core tools, but the <strong>preset<\/strong> covers the standard flow.<\/p>\n<h3> 4.6 Remote database connection (host, SQL)<\/h3>\n<p> Xabia MEC follows the same pattern as Xabia Woo: the agent can use <strong>native Addon \u2192 MEC<\/strong> even if the events are on another website.<\/p>\n<p> Use this mode when:<\/p>\n<ul>\n<li> The site where the chat is located has <strong>Xabia Agent Core<\/strong> and <strong>Xabia MEC<\/strong> active.<\/li>\n<li> The actual events are in a remote WordPress database, for example <code>bilbaobizkaiapride.com<\/code> .<\/li>\n<li> It wants to preserve the semantic rules of the MEC addon (dates, places, categories, qualitative availability), but read the data by remote SQL.<\/li>\n<\/ul>\n<p> Steps:<\/p>\n<ol>\n<li> In <strong>Information Source<\/strong> , select <strong>Native Addon (automatic connector)<\/strong> .<\/li>\n<li> In the drop-down menu, choose <strong>Modern Events Calendar (MEC)<\/strong> .<\/li>\n<li> Fill in <strong>Host<\/strong> , <strong>DB<\/strong> , <strong>User<\/strong> , <strong>Password<\/strong> and, if applicable, <strong>Prefix<\/strong> ( <code>wp_<\/code> , <code>wpdb_<\/code> , etc.).<\/li>\n<li> Press <strong>Connect and Map<\/strong> .<\/li>\n<li> Save the agent, synchronize data, and train if using vectors.<\/li>\n<\/ol>\n<p> If the <strong>Prefix<\/strong> field is left empty, the Core attempts to detect the active prefix of the remote database and uses <code>wp_<\/code> as a fallback.<\/p>\n<h3> 4.6.1 Alternative: remote MEC preset from pure SQL<\/h3>\n<p> If you are not going to install <strong>Xabia MEC<\/strong> on the chat site, you can use the Core directly:<\/p>\n<ol>\n<li> Choose <strong>External Database (Remote SQL)<\/strong> .<\/li>\n<li> Press <strong>Use remote MEC preset<\/strong> .<\/li>\n<li> Fill in remote SQL credentials and test the query.<\/li>\n<li> Save, sync, and train.<\/li>\n<\/ol>\n<p> This alternative creates an event catalog via SQL ( <code>sql_preset = mec_remote<\/code> ) and automatic mapping, but it doesn&#8217;t load all the capabilities of the MEC add-on. For commercial installations with an active license, the recommended workflow is <strong>Native Add-on \u2192 MEC<\/strong> .<\/p>\n<h3> 4.7 Save the agent<\/h3>\n<p> Press <strong>&#8220;Save Agent&#8221;<\/strong> (or the equivalent button on your screen) to persist <code>source_type<\/code> , <code>addon_slug<\/code> , mapping, and SQL credentials.<\/p>\n<hr>\n<h2> Part 5 \u2014 Agent Sidebar: Memory, Synchronization, and Playground<\/h2>\n<p> When you edit an <strong>existing<\/strong> agent (not an empty &#8220;new&#8221; agent), you&#8217;ll see the <strong>memory<\/strong> sidebar. Each control does the following:<\/p>\n<table>\n<thead>\n<tr>\n<th> Control<\/th>\n<th> Function<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>&#8220;1. Synchronize data&#8221;<\/strong><\/td>\n<td> Launches <strong>ingestion<\/strong> from the configured source (in the MEC add-on, the event SQL + place enrichment and link). If <strong>Hub Polar is inactive<\/strong> and the source is <strong>the MEC add-on<\/strong> , the button may be <strong>disabled<\/strong> and display the <strong>&#8220;Requires Premium License&#8230;&#8221;<\/strong> warning.<\/td>\n<\/tr>\n<tr>\n<td> <strong>\u00ab2.<\/strong><\/p>\n<p>Train AI<\/td>\n<td> Generates local embeddings\/training according to the Core configuration (vectors in the knowledge table).<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Synchronize Brain with Xabia Cloud&#8221;<\/strong><\/td>\n<td> Send the knowledge to the cloud Hub if you use <strong>Xabia Secure Connection<\/strong> \/ cloud mode.<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Knowledge preview (this database)&#8221;<\/strong><\/td>\n<td> Displays counts and extracts of saved rows for that <code>project_id<\/code> .<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Delete vector memory&#8221;<\/strong><\/td>\n<td> Removes agent knowledge data (irreversible action; requests confirmation).<\/td>\n<\/tr>\n<tr>\n<td> <strong>Playground<\/strong><\/td>\n<td> Test chat on the desktop to validate responses before publishing the shortcode.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Balance\/Token Message<\/strong><\/td>\n<td> If you have <strong>a Wallet<\/strong> , you can view consumption; see the <a href=\".\/manual-usuario-xabia-core.md\">Core Manual<\/a> .<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2> Part 6 \u2014 How <strong>Modern Events Calendar<\/strong> Should Be Set Up in WordPress<\/h2>\n<p> The add-on <strong>reads<\/strong> what MEC already stores, so that <strong>reservations<\/strong> and <strong>available spaces<\/strong> make sense.<\/p>\n<ol>\n<li> In <strong>ME Calendar \u2192 Settings \u2192 Bookings<\/strong> , activate the <strong>booking module<\/strong> if you use the MEC booking function (according to Webnus documentation \/ your Lite or Pro edition).<\/li>\n<li> For each <strong>event<\/strong> , configure <strong>entry\/ticket<\/strong> limits if you want there to be a calculable <strong>capacity<\/strong> .<\/li>\n<li> Publish or schedule events ( <code>publish<\/code> \/ <code>future<\/code> ); the connector SQL filters dates <strong>from today<\/strong> and <strong>root<\/strong> events ( <code>post_parent = 0<\/code> ) to avoid duplicating child occurrences in the index.<\/li>\n<\/ol>\n<p> If an event <strong>does not<\/strong> have online booking, the system may <strong>omit<\/strong> the <code>[ACTION:BOOK]<\/code> button even if the AI suggests informational text.<\/p>\n<hr>\n<h2> Part 7 \u2014 Visitor Experience in Chat<\/h2>\n<h3> 7.1 Questions that the MEC context helps to interpret<\/h3>\n<p> Thanks to the <strong>search rules<\/strong> injected into the router, the model tends to use well:<\/p>\n<ul>\n<li> <strong>Dates<\/strong> and expressions like <strong>&#8220;this weekend&#8221;<\/strong> (the system suggests filtering by the <strong>Date<\/strong> column).<\/li>\n<li> <strong>Slots<\/strong> when there is a numeric <strong>mec_available_slots<\/strong> .<\/li>\n<li> <strong>Place<\/strong> ( <code>Lugar<\/code> \/ <code>mec_location<\/code> ).<\/li>\n<li> <strong>Categories and tags<\/strong> joined in <strong>Categories_Tags<\/strong> .<\/li>\n<\/ul>\n<h3> 7.2 Booking button<\/h3>\n<p> When the project uses the <strong>MEC booking<\/strong> engine and the event has <strong>booking<\/strong> enabled, the response can include a <strong>link or button<\/strong> that opens the event page (with a default booking anchor).<\/p>\n<p> In <strong>remote MEC<\/strong> catalogs without a local MEC in the WordPress chat, Xabia <strong>does not<\/strong> generate local booking buttons ( <code>[ACTION:BOOK:ID]<\/code> ) from Core <strong>\u2265 1.0.202<\/strong> : the assistant always sends a link to the <strong>Link<\/strong> field of the remote event ( <code>[ACTION:URL:Link]<\/code> ). If the event has a booking on the source website, that remote record will manage the process.<\/p>\n<h3> 7.3 Privacy<\/h3>\n<p> The visitor only sees what the <strong>chat plugin<\/strong> displays. Messages are processed according to the Core configuration (AI provider, Hub, etc.).<\/p>\n<p>Please refer to your site&#8217;s privacy policy and the <a href=\".\/manual-usuario-xabia-core.md\">Core Manual<\/a> .<\/p>\n<hr>\n<h2> Part 8 \u2014 MEC Federation Bridge (menu \u00abMEC Bridge\u00bb)<\/h2>\n<p> When <strong>Xabia MEC<\/strong> is active, <strong>&#8220;MEC Bridge&#8221;<\/strong> appears in the Xabia menu (submenu under agent settings).<\/p>\n<h3> 8.1 What the screen shows<\/h3>\n<table>\n<thead>\n<tr>\n<th> Block<\/th>\n<th> Content<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>Top description<\/strong><\/td>\n<td> It explains that the feed is for <strong>pull nodes<\/strong> of Xabia Central, which requires <strong>MEC subscription<\/strong> in the Hub and <strong>X-Xabia-Key<\/strong> header (except for administrator with session).<\/td>\n<\/tr>\n<tr>\n<td> <strong>License Notice<\/strong><\/td>\n<td> If the Hub does not have MEC active, it warns that the endpoint will return <strong>403<\/strong> to external clients.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Bridge key notice<\/strong><\/td>\n<td> If there is no key in <strong>Nexus Federation<\/strong> , anonymous requests with headers will fail.<\/td>\n<\/tr>\n<tr>\n<td> <strong>Endpoint URL<\/strong><\/td>\n<td> Copyable; This is usually <code>\u2026\/wp-json\/xabia\/v1\/federation-events<\/code> .<\/td>\n<\/tr>\n<tr>\n<td> <strong>Header instructions<\/strong><\/td>\n<td> <strong>X-Xabia-Key<\/strong> or <strong>X-Xabia-Fed-Key<\/strong> with the <strong>bridge secret<\/strong> defined in <strong>Xabia Agent \u2192 Federation<\/strong> .<\/td>\n<\/tr>\n<tr>\n<td> <strong>Suggested mapping (mapping_hint)<\/strong><\/td>\n<td> JSON with keys such as <code>event_title<\/code> , <code>mec_start_date<\/code> , <code>mec_location<\/code> , <code>mec_cost<\/code> , <code>mec_available_slots<\/code> , <code>permalink<\/code> , plus the visible <strong>hint<\/strong> : <em>&#8220;MEC Add-on active: Reservation and availability fields are automatically synchronized.&#8221;<\/em><\/td>\n<\/tr>\n<tr>\n<td> <strong>Last access<\/strong><\/td>\n<td> Record IP address, user-agent, and date of the <strong>last<\/strong> successful GET request to the endpoint (lightweight traceability).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3> 8.2 GET Parameters (API)<\/h3>\n<ul>\n<li> <strong><code>per_page<\/code><\/strong> (1\u2013200, default 100).<\/li>\n<li> <strong><code>page<\/code><\/strong> (pagination).<\/li>\n<\/ul>\n<p> Only <strong><code>mec-events<\/code><\/strong> with status <strong>published<\/strong> or <strong>scheduled<\/strong> , <strong>root<\/strong> ( <code>post_parent = 0<\/code> ), ordered by <code>mec_start_date<\/code> .<\/p>\n<hr>\n<h2> Part 9 \u2014 Recurrence and one row per series<\/h2>\n<p> The connector is designed to index <strong>a root event per series<\/strong> with the <strong>next date<\/strong> in MEC metadata (it does not expand dozens of rows for each repetition if MEC represents them as children). If your case uses only child events, consult with support or an integrator to adjust SQL via custom maintenance.<\/p>\n<hr>\n<h2> Part 10 \u2014 Common problems and checklist<\/h2>\n<table>\n<thead>\n<tr>\n<th> Symptom<\/th>\n<th> What to review<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>&#8220;Polar Hub: inactive&#8221;<\/strong> and synchronization blocked<\/td>\n<td> Key in <strong>Addons<\/strong> , payment in <a href=\"https:\/\/buy.polar.sh\/polar_cl_wEzwnqMvZIrPelny1I5HNIsdcVjGs1UO12Roj3zzxIm\">Polar<\/a> , <strong>Sync license<\/strong> button.<\/td>\n<\/tr>\n<tr>\n<td> <strong>No events in the preview<\/strong><\/td>\n<td> Are there future events in MEC? Does the slug <code>mec-events<\/code> exist? Is the SQL prefix correct on remote?<\/td>\n<\/tr>\n<tr>\n<td> <strong>Squares always empty<\/strong><\/td>\n<td> Tickets\/limits in MEC? Without a defined capacity, the field can be left empty.<\/td>\n<\/tr>\n<tr>\n<td> <strong>No reservation button appears<\/strong><\/td>\n<td> Is the MEC booking module active? Are tickets available at the event?<\/p>\n<p>The system <strong>hides<\/strong> the button if it does not detect a reservation.<\/td>\n<\/tr>\n<tr>\n<td> <strong>403 in federation<\/strong><\/td>\n<td> MEC license, bridge key in Federation, or administrator session.<\/td>\n<\/tr>\n<tr>\n<td> <strong>&#8220;Core required&#8221; warning<\/strong> when activating MEC<\/td>\n<td> Activate <strong>Xabia Agent Core<\/strong> first.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> <strong>Quick checklist:<\/strong> Core \u2265 1.0.24 \u2192 MEC active \u2192 Xabia MEC active \u2192 Hub <strong>active<\/strong> \u2192 Source <strong>addon<\/strong> + <strong>mec<\/strong> \u2192 <strong>Connect and Map<\/strong> \u2192 <strong>Save<\/strong> \u2192 <strong>Sync data<\/strong> \u2192 <strong>Train<\/strong> (if applicable) \u2192 Test in <strong>Playground<\/strong> .<\/p>\n<hr>\n<h2> Part 11 \u2014 Good practices<\/h2>\n<ul>\n<li> Keep <strong>MEC<\/strong> updated and review <strong>canceled events<\/strong> to avoid offering outdated dates until the next synchronization.<\/li>\n<li> Use clear <strong>categories<\/strong> so that the agent can filter properly from <strong>Categorias_Tags<\/strong> .<\/li>\n<li> Always test <strong>real booking<\/strong> in a private window after changing the event template.<\/li>\n<li> Document internally who has the <strong>Polar key<\/strong> and who can press <strong>Sync License<\/strong> .<\/li>\n<\/ul>\n<hr>\n<h2> Part 12 \u2014 Support<\/h2>\n<ul>\n<li> <strong>Xabia \/ Digixop<\/strong> (installation, Core and MEC addon licenses, Hub): usual contact <strong><a href=\"mailto:help@xabia.ai\">help@xabia.ai<\/a><\/strong> .<\/li>\n<li> <strong>Polar Billing<\/strong> : Use the <strong>customer portal<\/strong> linked from <strong>Addons<\/strong> when the subscription is active.<\/li>\n<li> <strong>MEC calendar issues<\/strong> (Webnus plugin bugs, styles, shortcodes): <strong>Webnus\/MEC support<\/strong> .<\/li>\n<\/ul>\n<p> For <strong>main license, tokens and wallet<\/strong> , open the <strong><a href=\".\/manual-usuario-xabia-core.md\">Core Manual<\/a><\/strong> .<\/p>\n<div class=\"manual-pdf-cierre\">\n<h2> Xabia AI \u2014 The Living Web<\/h2>\n<p> Natural wisdom with artificial intelligence<\/p>\n<p> Xabia AI is especially suitable for companies and associations in the tourism sector, institutions, businesses and online stores that want to increase their conversion rate.<\/p>\n<p> Xabia AI is developed by Digixop.<\/p>\n<p> <strong>Xabia AI<\/strong> \u00b7 Garaizar, 2 \u00b7 48004 Bilbao (SPAIN)<\/p>\n<p> <a href=\"mailto:help@xabia.ai\">help@xabia.ai<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>User manual \u2014 Xabia Modern Events Calendar (MEC add-on) Addon: Xabia MEC v1.0.3 \u00b7 Core required: \u2265 1.0.166 (recommended) Quick Installation Guide Install and activate Xabia Agent Core ( v1.0.166 or higher recommended). Install and activate the Xabia MEC ZIP ( xabia-mec-1.0.3.zip ) from Plugins \u2192 Add new \u2192 Upload plugin . In Xabia Agent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2221,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2226","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Xabia MEC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Xabia MEC\" \/>\n<meta property=\"og:description\" content=\"User manual \u2014 Xabia Modern Events Calendar (MEC add-on) Addon: Xabia MEC v1.0.3 \u00b7 Core required: \u2265 1.0.166 (recommended) Quick Installation Guide Install and activate Xabia Agent Core ( v1.0.166 or higher recommended). Install and activate the Xabia MEC ZIP ( xabia-mec-1.0.3.zip ) from Plugins \u2192 Add new \u2192 Upload plugin . In Xabia Agent [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/\" \/>\n<meta property=\"og:site_name\" content=\"Xabia\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-11T09:36:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/xabia-mec\\\/\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/xabia-mec\\\/\",\"name\":\"Xabia MEC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#website\"},\"datePublished\":\"2026-08-11T07:57:36+00:00\",\"dateModified\":\"2026-08-11T09:36:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/xabia-mec\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/xabia-mec\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/xabia-mec\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Xabia MEC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\",\"name\":\"Xabia Ai\",\"description\":\"Sabidur\u00eda natural con inteligencia artificial\",\"publisher\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#organization\"},\"alternateName\":\"Xabia Ai, nueva integencia artificial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/xabia.ai\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#organization\",\"name\":\"Xabia Ai\",\"alternateName\":\"Xabia Agent Next\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/xabia.ai\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/icono-xabia-trans.svg\",\"contentUrl\":\"https:\\\/\\\/xabia.ai\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/icono-xabia-trans.svg\",\"width\":325,\"height\":406,\"caption\":\"Xabia Ai\"},\"image\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Xabia MEC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/","og_locale":"en_US","og_type":"article","og_title":"Xabia MEC","og_description":"User manual \u2014 Xabia Modern Events Calendar (MEC add-on) Addon: Xabia MEC v1.0.3 \u00b7 Core required: \u2265 1.0.166 (recommended) Quick Installation Guide Install and activate Xabia Agent Core ( v1.0.166 or higher recommended). Install and activate the Xabia MEC ZIP ( xabia-mec-1.0.3.zip ) from Plugins \u2192 Add new \u2192 Upload plugin . In Xabia Agent [&hellip;]","og_url":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/","og_site_name":"Xabia","article_modified_time":"2026-08-11T09:36:36+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/","url":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/","name":"Xabia MEC","isPartOf":{"@id":"https:\/\/xabia.ai\/en\/#website"},"datePublished":"2026-08-11T07:57:36+00:00","dateModified":"2026-08-11T09:36:36+00:00","breadcrumb":{"@id":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/xabia.ai\/en\/documentation\/xabia-mec\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xabia.ai\/en\/"},{"@type":"ListItem","position":2,"name":"Xabia MEC"}]},{"@type":"WebSite","@id":"https:\/\/xabia.ai\/en\/#website","url":"https:\/\/xabia.ai\/en\/","name":"Xabia Ai","description":"Sabidur\u00eda natural con inteligencia artificial","publisher":{"@id":"https:\/\/xabia.ai\/en\/#organization"},"alternateName":"Xabia Ai, nueva integencia artificial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xabia.ai\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xabia.ai\/en\/#organization","name":"Xabia Ai","alternateName":"Xabia Agent Next","url":"https:\/\/xabia.ai\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xabia.ai\/en\/#\/schema\/logo\/image\/","url":"https:\/\/xabia.ai\/wp-content\/uploads\/2026\/07\/icono-xabia-trans.svg","contentUrl":"https:\/\/xabia.ai\/wp-content\/uploads\/2026\/07\/icono-xabia-trans.svg","width":325,"height":406,"caption":"Xabia Ai"},"image":{"@id":"https:\/\/xabia.ai\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/comments?post=2226"}],"version-history":[{"count":0,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2226\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2221"}],"wp:attachment":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/media?parent=2226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}