DEV Community

Cover image for Alexa for CI/CD: Add Alexa Skill to Alexa for Business - Part 4
Moataz Nabil for AWS Community Builders

Posted on • Originally published at blog.bitrise.io

Alexa for CI/CD: Add Alexa Skill to Alexa for Business - Part 4

In the last part of our Alexa for Bitrise tutorial series, you will learn how to publish Alexa Skills to Alexa for Business and use it with AWS Organizations. Let's dive in!

After you create, build, test, and integrate your skill with the AWS Lambda function you're ready to certify and publish your skill. In this tutorial, you will learn how to publish Skills to Alexa for Business.

Let’s get started!

Publish the skills

There are two different options to publish your skills with Alexa: public and private. Public means it will appear in the Amazon Alexa Skills Store. In this case, your skill must meet requirements for policy, security, functionality, voice interface, and user experience to receive a certificate. After your skill passes certification testing, you can publish your skill in the Amazon Alexa Skills Store.

But in our case, since our Skill is for development purposes and may not require to be published to the Skills Store, we will publish it as a Private Skill for our AWS Organization.

Publish the skill with private availability

To use the Amazon developer console to publish a private skill, you must have the following:

A skill Id for a skill that is under development (You have already one from Part 3)
The ARN for AWS Alexa for Business accounts to which you want to grant access to the private skill

What’s Alexa for Business?

Alexa for Business makes it easy for you to use Alexa in your organization. Alexa for Business provides tools to manage Alexa devices, enroll users, and configure skills across those devices.

1

Image Source - Alexa for Business

Note: Alexa for Business is available in the US only.

To be able to publish your Skills to Alexa for Business you should have AWS Organization to be able to assign the Skills to it.

AWS Organization helps you centrally manage and govern your environment as you grow and scale your AWS resources. Using AWS Organizations, you can create accounts and allocate resources, group accounts to organize your workflows, apply policies for governance, and simplify billing by using a single payment method for all of your accounts - AWS Organizations.

2

Image Source AWS Organizations - Amazon Web Services

Let’s now publish the Skill with the following steps:

  • Navigate to the Distribution page.
  • Make sure you have completed all fields in the Skill Preview section for language (English US).

3

4

You can select your favorite icons (I just used any simple icons for the demo)

  • Click Save and Continue button
  • Answer questions in the Privacy and Compliance section then click Save and continue button

5

  • For the Availability option, select Alexa for Business Organizations, then click Save and continue button.

6

  • You will navigate to the Certification page. Review and correct any validation errors. All validations must pass before you can submit the skill.

7

  • Click the Submission button, then click Submit for review button.

8

  • Once your skill has been published (privately) to the live stage, you can add the skill to a specific Alexa for Business organization.

9

  • You can manage the Alexa for Business organizations with access to your private skill from the Distribution > Availability section of the developer console. The Manage access to your skill section contains controls to add and remove organizations. The list of organizations that currently have access is displayed as well.

10

Well done!, you just published your first Alexa Skills to Alexa for Business, now it’s time to manage the access to the Skill from the Alexa for Business Console.

Manage skill access from the Alexa for Business console

Once you have set up the private skill for distribution, the customer whose account has been granted access can follow these steps to access the private skill:

  • Log in to the Alexa For Business console.
  • Navigate to the Skills > Private Skills tab. Select Review and then Enable the private skill.

11

Navigate to the Enabled Skills tab. Add the private skill to a skill group to enable the skill on devices in rooms containing that skill group. See the Alexa for Business administrators guide for more information.

Conclusion

My goal with this series was to learn the basics of AWS Lambda, design and build a Serverless function to trigger CI build for example Bitrise builds with Bitrise API via the custom Lambda function, design and build a custom Alexa skill, and finally publish the Alexa skills to the Alexa for Business service so we can use them with AWS Organizations.

Resources

Thank you for reading these articles!

Happy building!

Top comments (1)

Collapse
 
abdullahparacha profile image
Abdullah Paracha

Such an amazing article.