@Alexandre Costa Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
To associate the Custom Question Answering
project from Language studio with the Azure Bot you don't need the MicrosoftClientId and MicrosoftClientSecret.
In the Language Studio, After the service has been deployed, you need to click on the Create a Bot button as shown below:
- After the service has been deployed, select Create a bot. This opens the Azure portal in a new browser tab so you can create a Web App Bot in your Azure subscription.
- In the Azure portal, create a Web App Bot. (You may see a warning message to check that the source of the template is trustworthy. You do not need to take any action for that message.) Continue by updating the following settings:
- Project Details
- Subscription: Your Azure subscription
- Resource group: The resource group containing your Language resource
- Instance details
- Resource group Location: The same location as your Language service.
- Azure Bot
- Bot handle: A unique name for your bot (pre-populated)
- Choose your pricing tier
- Pricing tier: Free (F0) (You may need to select Change plan)
- Microsoft App ID
- Creation type: Select Create new User-assigned managed identity
- Select Next to continue updating the settings.
- App Service
- App name: Same as the Bot handle with .azurewebsites.net appended automatically
- SDK language: Choose either C# or Node.js
- App Service Plan
- Creation Type: Select Create new app service plan
- App Settings
- Language Resource Key: You will need to copy your Language resource key and paste it here:
- Open another browser tab and navigate to the Azure portal at https://portal.azure.com.
- Browse to your Language service resource.
- On the Keys and Endpoint page, copy one of the keys
- Paste it here.
- Language project name: MargiesTravel
- Language service endpoint hostname: Pre-populated with your language service endpoint
- Language service details
- Subscription Id: Pre-populated with your subscription ID
- Resource Group Name: Pre-populated with your resource group name
- Account Name: Pre-populated with your resource name
- Select Create. Then wait for your bot to be created (the notification icon at the top right, which looks like a bell, will be animated while you wait). Then in the notification that deployment has completed, select Go to resource (or alternatively, on the home page, click Resource groups, open the resource group where you created the bot, and select the Azure bot resource.)
- In the left-hand pane of your bot look for Settings, select on Test in Web Chat, and wait until the bot displays the message Hello and Welcome (it may take a few seconds to initialize).
- Use the test chat interface to ensure your bot answers questions from your knowledge base as expected.
For more info about Use Question Answering model with Language Studio, refer this article.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.