---
title: "Amazon Alexa Flash Briefing"
description: "Instructions on how to create your Flash Briefing skills with Home Assistant."
ha_category:
  - Voice
ha_release: "0.31"
ha_domain: alexa
---

## Flash Briefing Skills

As of version [0.31][zero-three-one] Home Assistant supports the new [Alexa Flash Briefing Skills API][flash-briefing-api]. A Flash Briefing Skill adds a new Flash Briefing source that is generated by Home Assistant.

### Requirements

Amazon requires the endpoint of a skill to be hosted via SSL. Self-signed certificates are OK because our skills will only run in development mode. Read more on [our blog][blog-lets-encrypt] about how to set up encryption for Home Assistant. Using the [Let's Encrypt](/addons/lets_encrypt/) and [Duck DNS](/addons/duckdns/) add-ons is the easiest method. If you are unable to get HTTPS up and running, consider using [this AWS Lambda proxy for Alexa skills](https://community.home-assistant.io/t/aws-lambda-proxy-custom-alexa-skill-when-you-dont-have-https/5230).

Additionally, note that at the time of this writing, your Alexa skill endpoint *must* accept requests over port 443 (Home Assistant default to 8123). There are two ways you can handle this:

  1. In your router, forward external 443 to your Home Assistant serving port (defaults to 8123)
  OR
  2. Change your Home Assistant serving port to 443 this is done in the [`http`](/integrations/http/) section with the `server_port` entry in your `configuration.yaml` file

[blog-lets-encrypt]: /blog/2015/12/13/setup-encryption-using-lets-encrypt/

### Configuring a Flash Briefing skill in Home Assistant

You can use [templates] for the `title`, `audio`, `text` and `display_url` configuration parameters.

Here's an example configuration of a Flash briefing skill that will tell you who is at home:

```yaml
{% raw %}# Example configuration.yaml entry
alexa:
  flash_briefings:
    password: YOUR_PASSWORD
    whoishome:
      - title: Who's at home?
        text: >
          {%- if is_state('device_tracker.paulus', 'home') and
                 is_state('device_tracker.anne_therese', 'home') -%}
            You are both home, you silly
          {%- else -%}
            Anne Therese is at {{ states("device_tracker.anne_therese") }}
            and Paulus is at {{ states("device_tracker.paulus") }}
          {% endif %}{% endraw %}
```

You can add multiple items for a feed if you want. The Amazon required UID and timestamp will be randomly generated at startup and change at every restart of Home Assistant.

Please refer to the [Amazon documentation][flash-briefing-api-docs] for more information about allowed configuration parameters and formats.

### Configuring your Flash Briefing skill

- Log in to [Amazon developer console][amazon-dev-console]
- Click on the "Create Alexa Skills" button
- Click the blue "Console" button in the top right
- Click the light blue "Create Skill" button in the top right
  - Skill Information
    - You can enter whatever name you want
    - For "Choose a model" select "Flash Briefing"
    - Hit "Create Skill" in the top right corner
  - Flash Briefing
    - Enter a custom error message, like "This skill is currently not available."
    - Add new feed
      - For Preamble, enter "From Home Assistant" (or anything you like)
      - For Name, enter "Home Assistant"
      - Choose Content type "Text"
      - Select a genre, e.g. "Other"
      - For Feed, enter `https://YOUR_HOST/api/alexa/flash_briefings/BRIEFING_ID?password=YOUR_PASSWORD` where `BRIEFING_ID` is the key you entered in your configuration (such as `whoishome` in the above example). **NOTE:** Do not use a non-standard HTTP or HTTPS port, AWS will not connect to it.
      - You can use this [specially sized Home Assistant logo][large-icon] as the Feed Icon
      - Hit "Add"
      - Hit "Save" in the top right corner
  - Test
    - Having passed all validations to reach this screen, you can now click on "< Back to All Skills" as your flash briefing is now available as in "Development" service.
- To invoke your flash briefing, open the Alexa app on your phone or go to the [Alexa Settings Site][alexa-settings-site], open the "Skills" configuration section, select "Your Skills", scroll to the bottom, tap on the Flash Briefing Skill you just created, enable it, then manage Flash Briefing and adjust ordering as necessary.  Finally ask your Echo for your "news","flash briefing", or "briefing".

[amazon-dev-console]: https://developer.amazon.com/alexa
[flash-briefing-api]: https://developer.amazon.com/docs/flashbriefing/understand-the-flash-briefing-skill-api.html
[flash-briefing-api-docs]: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/flash-briefing-skill-api-feed-reference
[large-icon]: /images/integrations/alexa/alexa-512x512.png
[small-icon]: /images/integrations/alexa/alexa-108x108.png
[templates]: /topics/templating/
[zero-three-one]: /blog/2016/10/22/flash-briefing-updater-hacktoberfest/
[alexa-settings-site]: https://alexa.amazon.com/
[emulated-hue-component]: /integrations/emulated_hue/
