We are trying to use rudderstack for our product i...
# support
i
We are trying to use rudderstack for our product in personalization space, targetting shopify based business for now. It is a B2B offering and I have the following questions. 1. Should I create a single account in rudderstack control plane and multiple sources and destination (one for each business) or multiple rudderstack accounts, one for each business. 2. Can I automate the source and destination creation? Are there rudderstack API that I integrate in my process that can be used to create sources and destinations as soon as a business signs up for our product. 3. How can I install rudderstack app for shopify without requiring our business customers to install yet another app on their shopify website. 4. All I am trying to do is to enhance the business onboaring experience and not requring them oru our team to follow multiple steps and 3rd party app installation (rudderstack in this case) we have our own shopify app. Thank you. (edited)
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Arshad, 1. You should ideally keep these businesses separate and have different sources for each business. 2. Checkout the rudderstackterraformdocs to create a source, connection and destination through code. However, this is a paid feature and available to Enterprise customers. 3. and 4. So basically when you install your shopify app, then the RudderStack code should be installed as well.
i
@thousands-morning-17197 Thank you for answering my questions. I have this raised in support too. 1. If the new account for each business is recommended, can it be automated too. As the businesses are onboarded on our product and we would like to be able to create the account automatically. 2. I will go through the terraform providers. I am assuming that it will work for RudderStack cloud too? 3. Sure. But how do I make rudderstack app installed without having to ask the customer or support team to install it? Can I include it in our shopify app?
m
1. If you mean create a new RudderStack account for each business automatically then that is not currently supported 2. Yes, it works for RudderStack Cloud 3. You can try installing the RudderJS SDK code snippet as a custom code in your Shopify SDK. Also if you are creating a source for each business, you will have to dynamically add the WRITE_KEY of the source that you create. This should help send Page calls. ``````
i
Thank you. it helps. I was going through the Rudderstack shopify app. It has webhook subscriptions and lot more other thing in addition to sdak. If I include the sdk in my app, will I still get all the data and events that I will get after installing RudderStack Shopify app? Is the app just about adding the script or it also subscribes to webhooks and has more capabilities that standalone RudderStack js sdk might not have?
m
Hi Arshad, I also went over the Shopify integration and realized that the server-side events will definitely be missed in case you use the JS integration. I am checking with the team if there is a work-around.
i
Hi @thousands-morning-17197 - Do you have nay update from the team regarding this use case? We seamless integration is very important to us to ensure a seamless business onboarding.
m
Hi @Arshad, the team mentioned that there is a way to do this and that is to add a middle layer in your app that will send the data to RudderStack. However, this is not a plug and play solution and will involve significant work on your side.
Let me know if you are interested in going with this solution and I will fetch further details on it.
i
Hi @thousands-morning-17197 - Sure, I would like to explore that option and would be very interested to make it happen for our users. Can you please share more details on it? Thank you.
m
I will consult with the team and get details on how to proceed.
i
@thousands-morning-17197 - Thank you. Looking forward to it.
m
Hi Arshad, I had a discussion with the team and found that the solution the team proposed involves you setting up a config API (standard config API is api.rudderlabs.com) endpoint and managing the your customers from there, while RudderStack provides the ability to use a different end-point as against the standard config-end point. Adding Shopify into this mix further complicates the issue. Unfortunately RudderStack's current architecture is not built to completely support your use case.
i
@thousands-morning-17197 - I am not able to understand the proposed solution. Why do I need to setup the config API? All I want is to be able to integrate rudderstack without having to install the rudderstack shopify app. Can you please provide more details on it?
Hi @thousands-morning-17197 - Do you have any update or additional information for me?
m
Hey Arshad, the above was the custom solution suggested by the team to a customer who wanted to integrate their customer websites with RudderStack, while not having to setup their own RudderStack workspace. This worked decently for them but in your case since Shopify is adding another dimension I am not sure if this can be done. I am also trying to get some inputs from the Shopify support but have not gotten any response from them. In summary this may not be possible with the current RudderStack implementation.