Skip to content
Back to skills

Instructions

ASecurity

In this step you will configure the Alexa skill and fill out the required settings.

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 7, 2026
developmentpythongoawsapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned February 10, 2026

npx -y skills add alexa-samples/skill-sample-smarthome-fireplace-python --skill instructions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Instructions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Instructions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alexa-samples-instructions/badge)](https://www.skillsdirectory.com/skills/alexa-samples-instructions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 6. Configure the Skill

In this step you will configure the Alexa skill and fill out the required settings.

## Configure the Smart Home settings

Go back to the browser tab containing the Alexa skill settings in the Alexa Developer Console, and find the "Smart Home service endpoint" section.

![](./img/smart-home-endpoint.png)

1. Enter the ARN saved in your `setup.txt` file as **[AWS Lambda ARN]** into the *Default endpoint* field. The ARN should look something like: `arn:aws:lambda:region:XXXXXXXXXXXX:function:skill-sample-smarthome-fireplace-python`
2. Click the **Save** button.

## Configure the Account Linking settings

Fill out the required entities for account linking and copy your unique redirect URLs for configuring the return URLs of the security profile.

1. Beneath the "Smart Home service endpoint" settings, click on the **Setup Account Linking** button.
2. On the *Account Linking* page, for the *Authorization URI*, enter `https://www.amazon.com/ap/oa`.
3. For the *Access Token URI*, enter `https://api.amazon.com/auth/o2/token`.
4. For the *Client ID*, copy and paste the previously saved **[Security Profile Client ID]** value from the `setup.txt` file.
5. For the *Client Secret*, copy and paste the previously saved **[Security Profile Client Secret]** value from the `setup.txt` file.
6. For *Your Authentication Scheme* leave **HTTP Basic (Recommended)** selected.
7. Under *Scope*, click the **+ Add scope** link and then add the following scope into the text box that says *Enter scope...*: `profile:user_id`
8. Copy the three (3) redirect urls from the Redirect URLs section and save them to the **[Redirect URLs]** section of the `setup.txt` file.
9. Click **Save**.

## Set the Allowed Return URLs

1. Open [https://developer.amazon.com/iba-sp/overview.html](https://developer.amazon.com/iba-sp/overview.html) and make sure *Settings* is selected in the top menu and *Security Profiles* is selected in the sub menu.
2. Select the **Skill Sample** Security Profile.
3. On the *Security Profile Management* page, select the **Web Settings** tab.
4. In the *Web Settings*, click the **Edit** button.
5. In the Allowed Return URLs text input, add each of the saved Redirect URLs from the `setup.txt` file. You will need to click the **Add Another** link to add each Return/Redirect URL. Each of the Return/Redirect URLs will have a format similar to `https://pitangui.amazon.com/api/skill/link/XXXXXXXXXXXXXX`
6. Click **Save**.

## Checkpoint
You should now have a have a fully configured Alexa skill that handles the Smart Home interaction models and has Account Linking configured.
 
Next to Step [7. Deploy the Sample Code](deploy-the-sample-code.md)

___
Return to the [Instructions](README.md)

Files in this skill

  • README.md1.2 KB
  • clean-up.md1.3 KB
  • configure-the-skill.md2.7 KB
  • create-a-security-profile.md2.7 KB
  • create-the-backend-resources.md3.3 KB
  • create-the-skill.md2 KB
  • deploy-the-sample-code.md2 KB
  • get-the-sample.md1.4 KB
  • img/deploy.png9 KB
  • img/upload-zip.png61.7 KB
  • setup.txt731 B
  • start-the-client.md1.2 KB
  • test-the-skill.md3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.