{"id":8672,"date":"2025-08-08T06:08:41","date_gmt":"2025-08-08T06:08:41","guid":{"rendered":"https:\/\/techmarbles.com\/products\/docs\/tesyt\/connecting-to-erpnext\/"},"modified":"2025-08-08T06:16:28","modified_gmt":"2025-08-08T06:16:28","slug":"connecting-to-erpnext","status":"publish","type":"docs","link":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/","title":{"rendered":"Connecting to ERPNext"},"content":{"rendered":"\n<p class=\"has-contrast-color has-text-color has-link-color wp-elements-acf82a2431bcc55bf23a50db3f41bad2\">Establish a secure connection between your <strong>WooCommerce<\/strong> store and <strong>ERPNext<\/strong> instance to enable data synchronization. This page explains how to configure and validate the API connection.<br><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">API Configuration<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Navigate to API Settings<\/strong>:\n<ul class=\"wp-block-list\">\n<li>In WordPress Admin, go to <kbd>ERPNext Integration<\/kbd> \u2192 <kbd>API Settings<\/kbd>.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Enter ERPNext Details<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Host URL<\/strong>: Enter the full URL of your ERPNext instance (e.g., https:\/\/erp.example.com).<\/li>\n\n\n\n<li><strong>API Key<\/strong>: Obtain from ERPNext under User Settings \u2192 API Access.\n<ul class=\"wp-block-list\">\n<li><strong>Steps in ERPNext<\/strong>:\n<ol class=\"wp-block-list\">\n<li>Log in to ERPNext as an admin.<\/li>\n\n\n\n<li>Go to User \u2192 [Your User] \u2192 API Access.<\/li>\n\n\n\n<li>Generate and copy the API Key.<br><\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>API Secret<\/strong>: Copy the API Secret from the same ERPNext API Access page.<\/li>\n\n\n\n<li><strong>SSL Verification<\/strong>: Enable for secure connections (recommended). Disable only for testing if SSL issues occur.<\/li>\n\n\n\n<li><strong>Debug Mode<\/strong>: Enable to log detailed API interactions for troubleshooting.<\/li>\n\n\n\n<li><strong>Log Level<\/strong>: Select from Error, Warning, Info, or Debug to control log verbosity.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Test Connection<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Click <strong>Test Connection<\/strong> to verify credentials.<\/li>\n\n\n\n<li>A green checkmark indicates success; a red error message indicates issues (see<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-primary-color\"><a href=\"https:\/\/grok.com\/chat\/54f21ce9-756e-4c5d-a172-5edaffafadb6#\"> Troubleshooting<\/a> <\/mark>for help).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Connection Validation<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Automatic Validation<\/strong>: The plugin checks credentials upon saving settings.<\/li>\n\n\n\n<li><strong>Dashboard Indicator<\/strong>: View connection status on the ERPNext Integration dashboard.\n<ul class=\"wp-block-list\">\n<li><strong>Green<\/strong>: Connected.<\/li>\n\n\n\n<li><strong>Red<\/strong>: Connection failed\u2014check logs for details.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Log Review<\/strong>: Access logs in ERPNext Integration \u2192 Logs to diagnose issues.\n<ul class=\"wp-block-list\">\n<li><strong>Example Error<\/strong>: Invalid API Key suggests incorrect credentials.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-contrast-color has-text-color has-link-color wp-elements-119df7adbd4ac963c8afa7babdc05435\"><strong>Best Practices<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Secure Credentials<\/strong>: Store API Key and Secret securely; avoid sharing them publicly.<\/li>\n\n\n\n<li><strong>SSL<\/strong>: Use HTTPS for the ERPNext URL to ensure data security.<\/li>\n\n\n\n<li><strong>Firewall<\/strong>: Whitelist your WordPress server\u2019s IP in ERPNext if restricted.<\/li>\n\n\n\n<li><strong>Test Regularly<\/strong>: Periodically test the connection after ERPNext updates.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Establish a secure connection between your WooCommerce store and ERPNext instance to enable data synchronization. This page explains how to configure and validate the API connection. API Configuration Connection Validation Best Practices<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8656,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-8672","docs","type-docs","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Connecting to ERPNext - TechMarbles Products<\/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:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connecting to ERPNext - TechMarbles Products\" \/>\n<meta property=\"og:description\" content=\"Establish a secure connection between your WooCommerce store and ERPNext instance to enable data synchronization. This page explains how to configure and validate the API connection. API Configuration Connection Validation Best Practices\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/\" \/>\n<meta property=\"og:site_name\" content=\"TechMarbles Products\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/techmarbles\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-08T06:16:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/\",\"url\":\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/\",\"name\":\"Connecting to ERPNext - TechMarbles Products\",\"isPartOf\":{\"@id\":\"https:\/\/techmarbles.com\/products\/#website\"},\"datePublished\":\"2025-08-08T06:08:41+00:00\",\"dateModified\":\"2025-08-08T06:16:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techmarbles.com\/products\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce ERPNext Integration\",\"item\":\"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Connecting to ERPNext\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techmarbles.com\/products\/#website\",\"url\":\"https:\/\/techmarbles.com\/products\/\",\"name\":\"TechMarbles\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/techmarbles.com\/products\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techmarbles.com\/products\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techmarbles.com\/products\/#organization\",\"name\":\"TechMarbles\",\"url\":\"https:\/\/techmarbles.com\/products\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techmarbles.com\/products\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techmarbles.com\/products\/wp-content\/uploads\/2025\/12\/techmarble-1.png\",\"contentUrl\":\"https:\/\/techmarbles.com\/products\/wp-content\/uploads\/2025\/12\/techmarble-1.png\",\"width\":1472,\"height\":304,\"caption\":\"TechMarbles\"},\"image\":{\"@id\":\"https:\/\/techmarbles.com\/products\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/techmarbles\",\"https:\/\/www.instagram.com\/techmarbles\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Connecting to ERPNext - TechMarbles Products","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:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/","og_locale":"en_US","og_type":"article","og_title":"Connecting to ERPNext - TechMarbles Products","og_description":"Establish a secure connection between your WooCommerce store and ERPNext instance to enable data synchronization. This page explains how to configure and validate the API connection. API Configuration Connection Validation Best Practices","og_url":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/","og_site_name":"TechMarbles Products","article_publisher":"https:\/\/www.facebook.com\/techmarbles","article_modified_time":"2025-08-08T06:16:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/","url":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/","name":"Connecting to ERPNext - TechMarbles Products","isPartOf":{"@id":"https:\/\/techmarbles.com\/products\/#website"},"datePublished":"2025-08-08T06:08:41+00:00","dateModified":"2025-08-08T06:16:28+00:00","breadcrumb":{"@id":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/connecting-to-erpnext\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techmarbles.com\/products\/"},{"@type":"ListItem","position":2,"name":"WooCommerce ERPNext Integration","item":"https:\/\/techmarbles.com\/products\/docs\/woocommerce-erpnext-integration\/"},{"@type":"ListItem","position":3,"name":"Connecting to ERPNext"}]},{"@type":"WebSite","@id":"https:\/\/techmarbles.com\/products\/#website","url":"https:\/\/techmarbles.com\/products\/","name":"TechMarbles","description":"","publisher":{"@id":"https:\/\/techmarbles.com\/products\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techmarbles.com\/products\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techmarbles.com\/products\/#organization","name":"TechMarbles","url":"https:\/\/techmarbles.com\/products\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techmarbles.com\/products\/#\/schema\/logo\/image\/","url":"https:\/\/techmarbles.com\/products\/wp-content\/uploads\/2025\/12\/techmarble-1.png","contentUrl":"https:\/\/techmarbles.com\/products\/wp-content\/uploads\/2025\/12\/techmarble-1.png","width":1472,"height":304,"caption":"TechMarbles"},"image":{"@id":"https:\/\/techmarbles.com\/products\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/techmarbles","https:\/\/www.instagram.com\/techmarbles\/"]}]}},"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/61606c88d97c6f095279736996ce1baad72b9885f038d7f81c92f169cc5817cd?s=96&d=mm&r=g","author_name":"manish","_links":{"self":[{"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/docs\/8672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/comments?post=8672"}],"version-history":[{"count":3,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/docs\/8672\/revisions"}],"predecessor-version":[{"id":8676,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/docs\/8672\/revisions\/8676"}],"up":[{"embeddable":true,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/docs\/8656"}],"wp:attachment":[{"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/media?parent=8672"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/doc_tag?post=8672"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/techmarbles.com\/products\/wp-json\/wp\/v2\/doc_badge?post=8672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}