Applications within the KIBO platform can be enhanced with “Capabilities”, which allow users to configure an endpoint that KIBO calls when performing specific actions. These Capabilities include an “Address Validator”, “Order Validator”, “Payment Gateway Adapter”, “Shipping Adapter”, and “Tax Calculator”. Each Capability serves a unique purpose in extending the functionality of an Application. Applications within the KIBO platform can be enhanced with “Capabilities”, which allow users to configure an endpoint that KIBO calls when performing specific actions. These Capabilities include an “Address Validator”, “Order Validator”, “Payment Gateway Adapter”, “Shipping Adapter”, and “Tax Calculator”. Each Capability serves a unique purpose in extending the functionality of an Application. In this demonstration, we’ll focus on the “Tax Calculator” capability to illustrate how these features are implemented. The “Tax Calculator” allows users to define custom tax calculation logic that integrates seamlessly with the KIBO platform. By configuring an endpoint, we can ensure that Tax is calculated according to specific requirements. In this demonstration, we’ll focus on the “Tax Calculator” capability to illustrate how these features are implemented. The “Tax Calculator” allows users to define custom tax calculation logic that integrates seamlessly with the KIBO platform. By configuring an endpoint, we can ensure that Tax is calculated according to specific requirements. To begin, create a new “Application” and name it appropriately. This Application will serve as the container for our “Tax Calculator” capability. Ensure that the Application is properly configured with the necessary details, such as the “Application ID” and “Version”, to ensure seamless integration.We discussed creating and managing “Applications” in a separate video. To begin, create a new “Application” and name it appropriately. This Application will serve as the container for our “Tax Calculator” capability. Ensure that the Application is properly configured with the necessary details, such as the “Application ID” and “Version”, to ensure seamless integration. We discussed creating and managing “Applications” in a separate video. In our new “Tax Calculator” Application, we’ll navigate to the “Packages” side tab, then select the “Capabilities” tab. We’ll then click the “Add Capability” button on the right. In our new “Tax Calculator” Application, we’ll navigate to the “Packages” side tab, then select the “Capabilities” tab. We’ll then click the “Add Capability” button on the right. This will bring up the “Add Capability” modal. Selecting the “Tax Calculator” capability will navigate us to an endpoint configuration interface. This will bring up the “Add Capability” modal. Selecting the “Tax Calculator” capability will navigate us to an endpoint configuration interface. This configuration window is where we’ll specify the “URL” that KIBO will call to calculate Tax. Any time Tax needs to be calculated on an order, the “order object” will be sent to this “endpoint”. The response from this “endpoint” will dictate the Tax charged on the order. This configuration window is where we’ll specify the URL that kibo will call to calculate tax. Anytime tax needs to be calculated on an order. The order object will be sent to this endpoint. The response from this endpoint will dictate the tax charged on the order. To demonstrate the Tax Calculator capability, we’ll use a simple “Express” server that returns fixed values for Tax calculations. To demonstrate the Tax Calculator capability, we’ll use a simple “Express” server that returns fixed values for Tax calculations. We’ll deploy this server and make it accessible online using “Ngrok”. We’ll deploy this server and make it accessible online using “Ngrok”. The endpoint generated by Ngrok will then be used as the endpoint for our Tax Calculator capability, allowing us to simulate a real-world Tax calculation scenario. The endpoint generated by Ngrok will then be used as the endpoint for our Tax Calculator capability, allowing us to simulate a real-world Tax calculation scenario. The Ngrok interface provides valuable information, such as the “forwarding URL” and connection details, ensuring that our server is properly configured and accessible. Copy this “URL” from the Terminal. The Ngrok interface provides valuable information, such as the “forwarding URL” and connection details, ensuring that our server is properly configured and accessible. Copy this “URL” from the Terminal. Paste the copied “URL” in the Tax configuration window. Next, we’ll select which Countries this Tax Application works with.For this demonstration, we’ll select all available Countries. This ensures that the Tax Calculator capability is applied to orders from any location.When we have added the URL and selected the applicable Countries, we’ll click “Save”. Paste the copied “URL” in the Tax configuration window. Next, we’ll select which Countries this Tax Application works with. For this demonstration, we’ll select all available Countries. This ensures that the Tax Calculator capability is applied to orders from any location. When we have added the URL and selected the applicable Countries, we’ll click “Save”. Next, we’ll need to install the Application on a Tenant. We’ll click the “Install” button on the top right, and in the resulting “Select a Tenant” modal, we’ll select which Tenants to install this Application on. Next, we’ll need to install the Application on a Tenant. We’ll click the “Install” button on the top right, and in the resulting “Select a Tenant” modal, we’ll select which Tenants to install this Application on. Then, we’ll navigate to the Tenants’ Admin UI to ensure that the Application has installed and is “Enabled”.In the left menu, on the “SYSTEM” tab, click “Customization”, then click “Applications”. Then, we’ll navigate to the Tenants’ Admin UI to ensure that the Application has installed and is “Enabled”. In the left menu, on the “SYSTEM” tab, click “Customization”, then click “Applications”. This is the Applications menu. All installed Applications for this Tenant will be listed here. To view specific Application-related data, or to enable or disable Applications, click directly on the desired Application. This is the applications menu. All installed applications for this tenant will be listed here. To view specific application, related data, or to enable or disable applications, click directly on the desired application. This will bring up the Applications detail page. This will bring up the Applications detail page. To enable the Application for this Tenant, click the “Enable Application” button on the top right. To enable the Application for this Tenant, click the “Enable Application” button on the top right. There may be times where we’ll need to configure an Application with account logins or other specific information. In those cases, a “Configure Application” button will appear below the “Enable Application” slider to configure the Application before we “Enable” it. There may be times where we’ll need to configure an Application with account logins or other specific information. In those cases, a “Configure Application” button will appear below the “Enable Application” slider to configure the Application before we “Enable” it. With the Application installed and enabled, we can create an Order and view the Tax results. We’ll see that the “Order Total” is displayed, showing the “Tax & Duty”. With the Application installed and enabled, we can create an Order and view the Tax results. We’ll see that the “Order Total” is displayed, showing the “Tax & Duty”. The Tax calculated on the order is coming directly from the Tax endpoint we setup. This confirms that the Tax Calculator capability is functioning correctly and that our custom Tax logic is being applied to orders within the KIBO platform. The tax calculated on the order is coming directly from the tax end point. We set up. This confirms that the tax calculator capability is functioning correctly and that our custom tax logic is being applied to orders within the kibo platform.
Want to learn more?
Application Behaviors
Learn more about this topic

