Building and installing a Teams bot app for on-premises softwares

%3CLINGO-SUB%20id%3D%22lingo-sub-2497395%22%20slang%3D%22en-US%22%3EBuilding%20and%20installing%20a%20Teams%20bot%20app%20for%20on-premises%20softwares%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2497395%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22s-prose%20js-post-body%22%3E%3CP%3EI%20am%20quite%20new%20to%20Teams%20and%20to%20building%20bots%20for%20it%2C%20so%20I%20am%20still%20trying%20to%20figure%20things%20out%20and%20find%20my%20way%20through%20the%20documentation.%3C%2FP%3E%3CP%3EUsing%20NodeJS%2C%20I%20built%20a%20simple%20prototype%20one%20that%20can%20receive%20notifications%20and%20send%20requests%20to%20my%20software.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20my%20software%20is%20installed%20on-premises%2C%20which%20means%20all%20users%20using%20it%20have%20a%20different%20domain%20name%20for%20it%20(xxx.com%2C%20abc.com%E2%80%A6).%20To%20be%20able%20to%20use%20it%2C%20the%20app%20needs%20to%20know%20what%20is%20the%20endpoint%20of%20the%20requests.%3C%2FP%3E%3CP%3EI%20wonder%20%3CSTRONG%3Ehow%20I%20can%20build%20my%20bot%20app%20in%20those%20conditions%20and%20have%20it%20in%20the%20Teams%20Marketplace%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20is%20%3A%20I%20assume%20I%20want%20a%20team%20admin%20to%20set%20the%20domain%20name%20in%20some%20app%20settings%20before%20installing%20it%20for%20a%20team%20and%20users%20to%20use.%3CBR%20%2F%3E%3CSTRONG%3EIs%20it%20even%20possible%3F%20If%20yes%20how%3F%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20suppose%20it%20is%20possible%20to%20achieve%20that%20by%20having%20the%20users%20install%20a%20custom%20app%2C%20but%20then%20the%20app%20cannot%20be%20in%20the%20Marketplace.%3CBR%20%2F%3EI%20also%20suppose%20I%20can%20ask%20individual%20users%20to%20first%20enter%20the%20name%20of%20the%20domain%2C%20it%20sounds%20repetitive%20and%20the%20info%20would%20then%20be%20stored%20in%20some%20userData.%3CBR%20%2F%3EIsn't%20there%20some%20teamData%20instead%3F%20%3CSTRONG%3ECould%20it%20mean%20having%20one%20user%20set%20those%20information%20and%20have%20them%20stored%20for%20everyone%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2497395%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBotframework%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I am quite new to Teams and to building bots for it, so I am still trying to figure things out and find my way through the documentation.

Using NodeJS, I built a simple prototype one that can receive notifications and send requests to my software.

 

However, my software is installed on-premises, which means all users using it have a different domain name for it (xxx.com, abc.com…). To be able to use it, the app needs to know what is the endpoint of the requests.

I wonder how I can build my bot app in those conditions and have it in the Teams Marketplace.

 

My question is : I assume I want a team admin to set the domain name in some app settings before installing it for a team and users to use.
Is it even possible? If yes how?

 

I suppose it is possible to achieve that by having the users install a custom app, but then the app cannot be in the Marketplace.
I also suppose I can ask individual users to first enter the name of the domain, it sounds repetitive and the info would then be stored in some userData.
Isn't there some teamData instead? Could it mean having one user set those information and have them stored for everyone?

0 Replies