
This article may contain affiliate links. If you buy through these links, the price is the same for you and the store pays me a small commission that helps keep Tecnoyfoto running.
Starting with Home Assistant 2026.11, you open Marketplace under Settings → Marketplace. If you used to reach HACS from the sidebar, you can add a one-click shortcut using a custom panel. Selecting it will open the built-in Marketplace.
We’ll create one JavaScript file and add an entry to configuration.yaml. The method uses Home Assistant’s built-in panel_custom integration and works with Home Assistant OS and Container. You’ll need an administrator account and access to your configuration files. Save a copy of the files before editing them.
1. Make sure Marketplace opens
Sign in as an administrator and open Settings → Marketplace. Check that the catalog appears. This guide assumes Marketplace is available, starting with 2026.11. If you’re still using an older release with HACS, update when appropriate before following these steps.
The shortcut will be visible to administrators, matching Marketplace’s own access requirement. If you need to check your setup after updating, see our migration and audit guide. For the catalog’s features, read the Marketplace vs. HACS comparison.
2. Find your configuration folder
Use the folder that contains configuration.yaml. We’ll create a www folder alongside that file if it doesn’t already exist.
On Home Assistant OS, you can use the File editor app. To install it, open Settings → Apps, open the app store, search for File editor, install it, start it, and select Open Web UI. Find configuration.yaml in its file browser. If you already use Studio Code Server or a shared folder, you can use that editor instead.
With Home Assistant Container, edit the files on the host. Look in your Compose file for the volume mapped to /config. For example, /srv/homeassistant:/config means you’ll edit /srv/homeassistant on the host. Use your own path if it’s different. Container doesn’t include the Home Assistant OS app store.
The resulting structure should look like this. The www folder and configuration.yaml have the same parent folder.
config/
├── configuration.yaml
└── www/
└── tecnoyfoto-marketplace-link.js3. Create the JavaScript file
Inside www, create a file named exactly tecnoyfoto-marketplace-link.js. Paste all of the following code and save it. If a file with that name already exists from an earlier attempt, review it before replacing it. Make sure your editor hasn’t added .txt to the filename.
class TecnoyfotoMarketplaceLink extends HTMLElement {
connectedCallback() {
window.history.replaceState(
window.history.state,
"",
"/marketplace"
);
window.dispatchEvent(
new CustomEvent("location-changed", {
detail: { replace: true }
})
);
}
}
if (!customElements.get("tecnoyfoto-marketplace-link")) {
customElements.define(
"tecnoyfoto-marketplace-link",
TecnoyfotoMarketplaceLink
);
}This component changes the internal URL to /marketplace and tells the Home Assistant interface to navigate there. It preserves the browser’s history state and replaces the intermediate shortcut page. The final check prevents the same component from being registered twice in one browser session.
You don’t need to enter your server’s IP address or add this file as a dashboard resource. Home Assistant will load it through module_url.
4. Add the entry to configuration.yaml
Open configuration.yaml, search for panel_custom:, and follow the matching case below.
If you don’t have panel_custom yet
Paste this block at the end of the file, starting in the first column. Use spaces for indentation and save.
panel_custom:
- name: tecnoyfoto-marketplace-link
sidebar_title: Marketplace
sidebar_icon: mdi:store
url_path: marketplace-shortcut
module_url: /local/tecnoyfoto-marketplace-link.js?v=1
require_admin: trueIf panel_custom already exists
Keep the existing key and its entries. Add only this item to the list. Its dash should line up with the other panels’ dashes.
- name: tecnoyfoto-marketplace-link
sidebar_title: Marketplace
sidebar_icon: mdi:store
url_path: marketplace-shortcut
module_url: /local/tecnoyfoto-marketplace-link.js?v=1
require_admin: trueIf your configuration uses panel_custom: !include panels.yaml, add the item to panels.yaml without repeating panel_custom:. Match the indentation of the existing list items in that file.
sidebar_title sets the displayed name, and sidebar_icon sets its icon. You can change those two values. Keep name, url_path, and module_url as shown so they match the file. require_admin: true limits the entry to administrators. The marketplace-shortcut path must be unique among your panels.
5. Check the configuration and restart
Open Developer tools → YAML and select Check configuration. You can reach Developer tools from Settings in the current interface. If you can’t see that section, turn on Advanced mode in your user profile and open it again.
If the check reports an error, examine the line number, indentation, and any duplicate panel_custom: key. Fix the file and check again. Once the configuration is valid, restart Home Assistant using the power control under Settings → System. Restarting Home Assistant is sufficient.
Reload your browser afterward. If you just created www, this first restart also lets Home Assistant start serving its contents.
6. Test the shortcut
Open the sidebar and select Marketplace. The built-in catalog should appear, and the address should change from /marketplace-shortcut to /marketplace or one of its views. Check that Settings → Marketplace also opens the catalog.
If you use the Companion app, reload its interface after the restart and test it with your administrator account. The panel is registered in Home Assistant, but each browser or app may need a reload to pick it up.
Fix a missing entry or a blank panel
Marketplace doesn’t appear in the sidebar
Make sure you’re signed in as an administrator and restarted after saving the YAML. If you’ve hidden sidebar items, check the hidden entries in the sidebar editor. If a sidebar customization plugin is active, check whether it’s filtering this panel. Confirm that sidebar_title: Marketplace is inside the new entry.
The JavaScript file returns 404
In another tab on the same server, open /local/tecnoyfoto-marketplace-link.js?v=1. You should see the code, or your browser may download the file. For example, if you use http://homeassistant.local:8123, open http://homeassistant.local:8123/local/tecnoyfoto-marketplace-link.js?v=1.
If you get a 404, check that the file is in www, next to configuration.yaml, and that its name matches without an extra .txt suffix. If you created www while Home Assistant was running, restart. Files in www are served as static content, so keep only the code there, with no passwords or tokens.
The shortcut opens a blank page or old code
Check that name matches the string registered in customElements.define. Refresh without cache using Ctrl + F5. If you edited the JavaScript, change ?v=1 to ?v=2 in module_url, validate the YAML, and restart so the browser requests a different URL.
The entry doesn’t stay highlighted
This panel redirects to the native Marketplace. Once you’re there, the route can change to Discover, Browse, or Installed. The shortcut may therefore not remain highlighted as an active sidebar section.
Remove the shortcut or undo the edit
Remove only the tecnoyfoto-marketplace-link entry from panel_custom. If it was the only entry, remove the empty key too. If you use an included file, preserve the structure needed by other panels. Validate the configuration and restart.
You can then delete www/tecnoyfoto-marketplace-link.js if no other entry uses it. Marketplace remains accessible from Settings. If an editing mistake prevents Home Assistant from starting normally, restore your saved configuration.yaml with the same editor or from the host, then start Home Assistant again.
You now have direct access to the catalog using panel_custom and the current Marketplace route. This is your own configuration, so check it after an update that changes Home Assistant’s navigation.
Related videos and articles
- Home Assistant + VS Code: the step you need to edit everything
- Organize Home Assistant with Packages using AI
- How to organize Home Assistant YAML files
- Organize Home Assistant with floors, labels, and categories — guide in Spanish
- Connect Home Assistant to Visual Studio Code using Samba
- How to organize Home Assistant with Packages
Continue reading
Next related guide · 7 min read
HACS to Marketplace in Home Assistant: What Changes and How to Check Your Migration
After updating Home Assistant, you may wonder why HACS is no longer where you left it and what happened to your integrations and dashboard…
Continue with this article

