# Create Bot With Microsoft Bot Framework and Microsoft Azure

The first step to creating a Skype channel is using the Microsoft Bot Framework and Microsoft Azure to make a new bot. To set up a developer account by following these steps:

First, sign in to the [Microsoft Bot Framework](https://dev.botframework.com/bots/new) using an account with administrator permission.

![Sign In](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FSgDTbEsCF5RYvGoXRmML%2FSign%20in%20microsoft%20bot%20framework.png?alt=media\&token=01deba98-b37f-4325-82bc-92aa726519a9)

Check terms of service Microsoft azure and click the '**Save'** button.

![Term of Service](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FqVZ455GqG7wzE2ncyPsQ%2Fterm%20microsoft%20azure%20bot.png?alt=media\&token=59f17560-c266-4a53-ba03-a614e691aab3)

On the bot framework page, fill out the bot profile with:&#x20;

1. Display Name: A friendly name for your bot (Fill in the display name for the Bot with 35 character limit).
2. Bot Handle: Used in the URL for your bot (Fill in the bot handle with alphanumeric and underscore only). Cannot be changed once registered.\
   For Example **'AA7788988800CC88'** and the URL will become **'<https://dev.botframework.com/bots/settings?id=> AA7788988800CC88'**
3. Bot Description: Displayed on your card in the bot directory, if you choose to list it there.

![Bot Profile](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FnVL0YS1WBo4J1ZeY7iwh%2FBot%20Profile.png?alt=media\&token=5dc0b1d2-5e76-40ea-8c4a-12e9d7cc0084)

On the configuration section, select App Type **'Multi Tenant'** and click the '**Create Microsoft App ID and password'** button.

![Configuration](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-QD-vifK32JrHcYuD%2F-MT-a-uEo2x--nTel1OI%2FConfiguration.png?alt=media\&token=c1d4410b-dc8a-454f-868d-b6c5717a1eea)

Then, on the App registration page, click the **'New Registration'** button on the left side of the page.

![New Registration](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-c89NRvMxF4xrxJll%2F-MT-isv_DVMI5v9C1z_A%2FNew%20Regist.png?alt=media\&token=b2b0b731-332e-422c-a0f5-339212dfe1ef)

Enter your application’s registration information:&#x20;

1. **Name**: Enter a meaningful application name that will be displayed to the users.
2. Select **Accounts in any organizational directory** **and personal Microsoft Accounts** option from the supported account types section.

Then, click the **'Register'** button to create the application.

![Registration Application](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FjbB9VZDhXsVJWfL8LxSg%2FRegister%20App%20Azure%20edit.png?alt=media\&token=63c1cfce-18c3-4b50-8a6a-17dde42e7e09)

After a few moments, the newly created app registration should open a blade.

![Created App Registration](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FRwiBjkyhhvsEPEYULQgL%2FApp%20success%20added%20edit.png?alt=media\&token=5d72da55-0d27-4fc1-ae4d-d0da6d6de04f)

Back to the bot framework. In the configuration section and paste your App id.

![Paste App ID](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FShlRPpTfkjPKRG1MSJlR%2FPaste%20App%20ID%20edit.png?alt=media\&token=ab8aca4d-0a1b-4faf-92fa-e4bb72db6182)

Scroll to the bottom page, check on the **'Term and Condition'** and click the **'Register'** button.

![Register](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FYI6wtpjNGkjW3qtuhdYq%2Fterm%20and%20condition%20edit.png?alt=media\&token=840a7a04-a538-4fd9-b911-84ea702c9874)

Create and register bot success.

![Bot Created](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FjX3sn0ywUzb0AFC89OiW%2FBot%20Created.png?alt=media\&token=213f5473-0d4f-4920-ae40-0f48b2fdc6f9)

After you register the bot, it will redirect the page to the channels list. Please add the Skype Channel by clicking the Skype icon.

![Connect to Channels](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FjxIayjg9cW0MwKvcfbX9%2FDolphinsDev%20bot%20created.png?alt=media\&token=110aeb66-5e2f-4f18-975f-a83f61b10d3e)

After clicking the Skype channel, it will open page **'Configure Skype'**.&#x20;

![Configure Skype](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FonF4oyxMgRix53FD6ZUO%2FConfigure%20Skype%20edit.png?alt=media\&token=8be6df18-2041-4b2c-9170-f84aa1059afc)

Please click the '**Save'** button.

![Term of Service](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FpGn5K7CxgeJpkJjc83wS%2FTerm%20configure%20skype%20edit.png?alt=media\&token=c118b77f-b86e-48d4-ac0e-d2029526ebbe)

The Skype channel should be added to the list.

![Added Skype Channel](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FnG7oUNiTt6XGb767RUSH%2Fchannel%20skype%20added.png?alt=media\&token=2fbeaf8c-ddd6-42e7-8e5f-ae2c337a68d2)

Back to Microsoft Azure, click **'Certificates & Secrets'** in the left navigation column of your app registration’s blade. In that blade, click the **'+ New client secret'** button.

![Certificates and Secrets](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FeQxmsq8pKwTzQ1kT9ZLz%2Fcertificates%20and%20secrets%20edit.png?alt=media\&token=be3f0dbd-1e45-4979-aec2-822527c03639)

In the pop-up, enter an optional description for the client secret and select the expired period from the Expires drop-down list button. Then, click the **'Add'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FZQjgGycfj62a2Vtybfh4%2FAdd%20client%20secret%20edit.png?alt=media&#x26;token=252a6a29-5553-454e-a14f-ec4d7971bfff" alt=""><figcaption><p>Add Client Secret</p></figcaption></figure>

Maka, client secret sudah berhasil ditambahkan.

![Application Credentials](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F1YuSUbxvGy8R7FqcxJLF%2Fadded%20client%20secret%20edit.png?alt=media\&token=44d0456f-cde1-4f5e-9fdd-43ec95f10522)
