# Create a Bot With Microsoft Bot Framework and Microsoft Azure

The first step when creating a skype channel on the 3Dolphins platform is to create a new bot on the Microsoft Bot Framework and Microsoft Azure. To set up a developer account, do the following steps:

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

![Sign In](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-QD-vifK32JrHcYuD%2F-MT-WAoAUK6bIqn4aUe9%2FSign%20in%20Microsot%20Team.png?alt=media\&token=e8a290ca-01f6-48b9-9c2d-ce53b049627f)

Check term of service Microsoft azure, click the **‘Save‘** button.

![Term of Service](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-QD-vifK32JrHcYuD%2F-MT-WTwr4BUmMr4ZDwX4%2FTerns.png?alt=media\&token=5d316e47-910a-464b-b7a5-95b9ecba3305)

In 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 characters 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://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-QD-vifK32JrHcYuD%2F-MT-_E5fe3IId50oHWIi%2FBot%20Profile.png?alt=media\&token=83b72857-4195-4601-9a05-5b5fbb309c0c)

On the configuration section, click the **‘Create Microsoft App ID and password‘** button.

![Configuration](https://2268349083-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://2268349083-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 :

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

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

![Registration Application](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-c89NRvMxF4xrxJll%2F-MT-eItsFuIjLyPpGwRs%2FRegister%20Application.png?alt=media\&token=47325350-9faf-4f55-b38d-d8b3ae100bd7)

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

![Created App Registration](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-c89NRvMxF4xrxJll%2F-MT-hmjxOYmWCS__ZW-i%2FSkype%20Venom%20Edit.png?alt=media\&token=e33b6a0d-3c63-4bc6-a760-1c50dcc1b147)

Back to the bot framework, in the configuration section, paste your App id.

![Paste App ID](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MT-c89NRvMxF4xrxJll%2F-MT-lQrcNX0YG5nCn2Xd%2FPaste%20ID%20App.png?alt=media\&token=642e7784-5ee0-4163-9a8a-69af6ae26a80)

Go to the bottom of page, check on the ‘**Term and Condition**‘ and click the ‘**Register**‘ button.

![Register](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw161O_mJRs66KANjn%2FRegister.png?alt=media\&token=2e709a62-733f-462b-806e-0d187187359c)

Create and registered Bot success.

![Bot Created](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw1GKJU6BkNvwIM2OG%2FBot%20Created.png?alt=media\&token=060ccf37-c57f-493f-86f5-4440737c8cc5)

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

![Connect to Channels](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw2_MMz5OjPnknNoQO%2FConnect%20to%20channels%20Edit.png?alt=media\&token=0876625a-55cb-42fa-b449-d64d00e4094d)

After click the Skype channel, it will open Page **'Configure Skype'**, Please click the ‘**Save**‘ button.

![Term of Service](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw3e7JdrKzKCthon-5%2FTerm%20of%20Service%20Skype%20Bot.png?alt=media\&token=a71b8ab3-412f-444f-aea3-f77f64650311)

The Skype channel should be added in the list'.

![Added Skype Channel](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw4RYK8H0ULlsTa-_m%2FSkype%20Channel%20Edit.png?alt=media\&token=6b66d24e-9fc1-4260-bb68-02851402f229)

Back to Microsoft Azure, click on ‘**Certificates & Secrets**‘ in the left navigation column of your app registration’s blade.

![Certificates and Secrets](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw5-OEEO50oKaytKEW%2FCertificates%20and%20Secrets.png?alt=media\&token=a6189475-5755-48a2-85b6-2d84332fee6c)

In that blade, click the ‘**New client secret**‘ button. In the dialog that pops up, enter an optional description for the secret and select ‘**Never**‘ from the Expires radio button group, and then Click ‘**Add**‘ button.

![Application Credentials](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MUvGOG_ekDzrXuqllew%2F-MUw6X86JnANelm97jD3%2FUpdate%20Application%20Credentisals%20Edit.png?alt=media\&token=a1b7200b-9e14-499b-83ab-01b97aef1018)
