Custom Integration Error
# 🤝help
a
Hey, fellow bot-builders! I am in the process of building a custom integration for Shopify but I am having severe problems when deploying the chatbot. I have tried using both the goat (Decay's) videos, used the old and new docs, and asked Patrick but it still isn't working. Right now, when using the new docs (thanks Patrick), I get this simple error. Authentication failed. Please check your credentials: User "x" is not a member of workspace "LoweWorkspace" This happens when I run "npm run login", I then add my access token and add my Workspace ID. It appears that my Botpress CLI is on v0.0.5 when I do this exact task. BUT, when I do other commands such as "pnpm dlx @square-energy-41150/cli init" and "bp login" it runs on v0.8.32. Also, when I try to install CLI with npm install -g @square-energy-41150/cli, it gives this (see image). I have tried updating the versions using commands from ChatGPT and even tried deleting everything and starting over from scratch, still doesn't work. Please note, I have followed Patricks video (

https://youtu.be/FGyUd1qiVmw?si=ztDvAfToo9l0Ny1L

) and it works flawlessly until I run "npm run login". Patricks is running on v0.8.24 and mine is on v0.0.5, as mentioned earlier. All help I could get is much appreciated! edit: didn't mean to call BotpressBot lol https://cdn.discordapp.com/attachments/1253085226641653760/1253085227115479141/Skarmbild_2024-06-19_222958.png?ex=6674920f&is=6673408f&hm=077df17f75363fc7bd47e7b62ac7280618d9b08b26651f7c7c516b52bf6bfb82&
@fresh-fireman-491 @straight-wolf-37371 @acceptable-gold-88171 @stocky-photographer-19056 @best-army-74344@User , added a few of the G's
After every installation, any idea what these things do?
That's the only difference between the video and what happens to me, because I've followed the video 100%
a
where do you require @User/sdk-addons?
I don't see it anywhere in the project I created 😦
a
I’m building this integration
a
oh that's quite old, that may no longer be working
ahh I see what issue this is
a
Do you reckon I can use the new files from the docs
What?
a
the integrations on our main repo have issue tracking so we can know if they fail. When deploying your own integration, you won't want to use that
you don't need to add sentryHelpers anywhere
I would create a new project, then port over all the properties in integration.definition.ts and src/index.ts, making sure nothing breaks
a
Okay
Like using the default and launching it
Then importing the other functions peace by peace?
Is that suitable?
Or should I just ignore them
a
you won't have any secrets properties, and I think your tags might have to change, but that should be it
a
So essentially I can have the ones found by default and in the docs and then add all of the actions and definitions in src?
a
yeah, I would port stuff over to the current version so your integration isn't too behind
a
Okay! 👌🏼
I guess I can reach out if other problems arise?
a
yeah for sure!
3 Views