{"id":10571,"date":"2026-05-13T13:44:24","date_gmt":"2026-05-13T13:44:24","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=10571"},"modified":"2026-10-16T02:38:11","modified_gmt":"2026-10-16T02:38:11","slug":"hostinger-ai-builder-agentic-mode-how-to-use-test-and-live-data-in-the-integrated-backend","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-ai-builder-agentic-mode-how-to-use-test-and-live-data-in-the-integrated-backend\/","title":{"rendered":"Hostinger AI Builder: How to use test and live data in agentic mode"},"content":{"rendered":"<p><a data-click-id=\"hgr-post-content-link-hostinger-ai-builder\" href=\"https:\/\/www.hostinger.com\/ai-builder\">Hostinger AI Builder<\/a> agentic mode stores test and live data in two environments of the integrated backend: <strong>Test data<\/strong> and <strong>Live data<\/strong>. Test data holds records created while you preview your project in the editor. Live data holds records created by visitors on your published website. When you publish, Hostinger AI Builder copies new Test data records to Live data without changing records that already exist on your live website. Switch between the environments, manage records, and update your data structure directly from the editor.<\/p><p>The integrated backend activates automatically when your project includes features requiring data storage, such as contact forms or user accounts. Access your data directly from the editor using the <strong>Data toggle<\/strong> once active.<\/p><h2 id=\"h-understanding-data-environments\">Understanding data environments<\/h2><p>Hostinger AI Builder stores development and production data in two separate environments:<\/p><p><strong>Test data:<\/strong> This is generated when you interact with the application in Preview mode. Submissions made during testing are stored here. New <strong>Test data<\/strong> records are copied to <strong>Live data<\/strong> when you publish your project.<\/p><p><strong>Live data:<\/strong> This is generated by real visitors on your published website. For example, a form submission from a live user is stored in the Live environment.<\/p><p>The system automatically assigns data to the correct environment based on whether the action occurs in the editor or on the published site.<\/p><h2 id=\"h-publish-test-data-to-live-data-in-hostinger-ai-builder\">Publish test data to live data in Hostinger AI Builder<\/h2><p>Publishing your Hostinger AI Builder agentic mode project copies new records from <strong>Test data<\/strong> to <strong>Live data<\/strong>. Publishing never changes or deletes records that already exist in <strong>Live data.&nbsp;Live data<\/strong> records are never copied back to <strong>Test data.<\/strong><\/p><p>Publishing copies<strong> Test data<\/strong> differently depending on whether your website has been published before:<\/p><ul>\n<li><strong>First publish<\/strong> &ndash; Hostinger AI Builder copies all records you created in <strong>Test data<\/strong> to <strong>Live data<\/strong>, including user accounts.<\/li>\n<li><strong>Later publishes<\/strong> &ndash; Hostinger AI Builder copies only new records added to<strong> Test data<\/strong>. Edits and deletions made to existing<strong> Test data<\/strong> records are not copied to<strong> Live data.<\/strong><\/li>\n<\/ul><p>Copied records include records you create in the <strong>Test data<\/strong> tab and records created through your website in preview mode. Seed data that Hostinger AI Builder adds with your data structure is set up on your live website separately.<\/p><p>On projects that existed before October 15, 2026, copying starts once your project is updated. <strong>Test data<\/strong> records created before your project was updated aren&rsquo;t copied to <strong>Live data<\/strong>.&nbsp;Websites published before October 15, 2026 show a one-time<strong> Publishing now copies new Test data<\/strong> notice in the <strong>Publish<\/strong> dropdown.<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-20763\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-16_09-15.png\" alt=\"\" width=\"1127\" height=\"762\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-16_09-15.png 1127w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-16_09-15-300x203.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-16_09-15-1024x692.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-16_09-15-768x519.png 768w\" sizes=\"(max-width: 1127px) 100vw, 1127px\" \/><\/p><h2 id=\"h-how-to-switch-between-environments\">How to switch between environments<\/h2><ol>\n<li>Open your project in <strong>Hostinger AI Builder<\/strong>.<\/li>\n<li>Click the <strong>Data<\/strong> toggle at the top of the preview screen.<img decoding=\"async\" class=\"alignnone size-large wp-image-10572\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh1-1024x293.png\" alt=\"\" width=\"1024\" height=\"293\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh1-1024x293.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh1-300x86.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh1-768x219.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh1.png 1309w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>Locate the <strong>Data<\/strong> section in the left panel.<\/li>\n<li>Select either <strong>Test data<\/strong> or <strong>Live data<\/strong> at the top to switch between the environments.<img decoding=\"async\" class=\"alignnone size-large wp-image-10573\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh2-1024x336.png\" alt=\"\" width=\"1024\" height=\"336\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh2-1024x336.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh2-300x98.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh2-768x252.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh2.png 1368w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ol><h2 id=\"h-how-to-manage-records\">How to manage records<\/h2><p>Once you have selected an environment, follow these steps to <a data-click-id=\"hgr-post-content-link-manage-your-information\" href=\"https:\/\/www.hostinger.com\/support\/how-to-access-and-modify-your-hostinger-ai-builder-agentic-mode-project-data\/\">manage your information<\/a>:<\/p><ol>\n<li>Click a <strong>Collection<\/strong> (e.g., <strong>Contacts<\/strong> or <strong>Users<\/strong>) from the left panel to view its records.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10574\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh3.png\" alt=\"\" width=\"343\" height=\"392\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh3.png 343w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh3-263x300.png 263w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><\/li>\n<li>Click on a specific record to view or edit the details.<\/li>\n<li>Click <strong>Add record<\/strong> to manually create a new entry.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10575\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh4.png\" alt=\"\" width=\"1018\" height=\"413\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh4.png 1018w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh4-300x122.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh4-768x312.png 768w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/><\/li>\n<li>To remove data, select the record and select <strong>Delete<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-large wp-image-10576\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh5-1024x459.png\" alt=\"\" width=\"1024\" height=\"459\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh5-1024x459.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh5-300x135.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh5-768x344.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hh5.png 1037w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ol><h2 id=\"h-how-to-modify-data-structure\">How to modify data structure<\/h2><p>You do not need to manually create fields or collections. To update your data model, type a prompt in the AI chat to request structural changes:<\/p><ul>\n<li>&ldquo;Add an email field to the contacts collection.&rdquo;<\/li>\n<li>&ldquo;Create a products collection with name, price, and description fields.&rdquo;<\/li>\n<li>&ldquo;Add a date field to blog posts.&rdquo;<\/li>\n<\/ul><p>Structural changes do not affect your live site until you click <strong>Publish<\/strong>.<\/p><p>The <a data-click-id=\"hgr-post-content-link-integrated-backend\" href=\"https:\/\/www.hostinger.com\/support\/what-is-the-integrated-backend-in-hostinger-ai-builder-agentic-mode\/\">integrated backend<\/a> simplifies data management by keeping your testing and production environments separate until you publish. Use <strong>Test data<\/strong> to experiment with new features, and Hostinger AI Builder adds your new test records to <strong>Live data<\/strong> when you publish. Always confirm your active environment label before editing records to ensure your live data remains accurate. If records aren&rsquo;t appearing where you expect between environments, see <a data-click-id=\"hgr-post-content-link-how-to-troubleshoot-data-synchronization-in-hostinger-databa\" href=\"https:\/\/www.hostinger.com\/support\/hostinger-ai-builder-agentic-mode-how-to-troubleshoot-data-synchronization-in-hostinger-databases\/\">how to troubleshoot data synchronization in Hostinger databases.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manage separate test and live data environments in the Hostinger AI Builder integrated backend.<\/p>\n","protected":false},"author":591,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-10571","post","type-post","status-publish","format-standard","hentry","category-ai-builder"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/hostinger-ai-builder-agentic-mode-how-to-use-test-and-live-data-in-the-integrated-backend","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/591"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=10571"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10571\/revisions"}],"predecessor-version":[{"id":20769,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10571\/revisions\/20769"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=10571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=10571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=10571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}