How to use a newly created Custom Integration
Hi experts,
I've just created a custom integration using this documentation https://docs.alokai.com/integrations/custom/quick-start and I'm wondering how I can use this custom integration into an existing Alokai project ?
I think I understood that the documentation referes to this github repo https://github.com/vuestorefront/integration-boilerplate but I'm kind of stuck now.
I have already some integrations configured into apps/storefront-middleware/integrations and I guess I need to do something there and also in the apps/storefront-middleware/middleware.config.ts but the documentation does not explain how go further once the custom integration is created.
Can you please explain what's the next step once the custom integration app is created ?
Kind regards
Alokai
Creating a Custom Integration
If you're looking to create a custom integration for Alokai, you're in the right place. This guide will walk you through the process of creating a custom integration from scratch.
GitHub
GitHub - vuestorefront/integration-boilerplate: Framework Independe...
Framework Independent boilerplate containing SDK and API Client starters. - vuestorefront/integration-boilerplate
5 Replies
Kind of similar issue. Currently CLI 5.0.0 is not working
Hi @plooff ,
Yes, you need to add that new integration to the middlware. To do so you need to add a configuration which in
location
points to your integration's index.server.ts
file.
Check out this doc for more info: https://docs.alokai.com/middleware/guides/getting-started#adding-integrationsAlokai
Installation
If you're building your Alokai application from scratch, you'll need to set up the middleware to connect to your backend services.
@Rinnelis What command did you run?
from help seems like create is not included anymore
and update is throwing errors as above
@Rinnelis it is included. Can you tell me which node version you have?
node -v