Home Assistant Setup: Install, Onboard and First Integrations
A good Home Assistant setup comes down to three decisions made in the right order: which installation method to use, which hardware to run it on, and what to configure in the first hour so you don’t have to redo it later. Home Assistant’s own documentation is clear on the first one, and the rest follows from your hardware.
This guide follows the official installation and onboarding documentation as published for Home Assistant 2026.12 (December 2026), with Home Assistant OS 18.4 as the current image on the x86-64 install page. Note two recent changes if you’re following older tutorials: add-ons are now called apps, and new Home Assistant OS installs listen on port 80 instead of 8123 (installs from before 2026.8 usually keep 8123).
Once you are up and running, community integrations and dashboard cards come from the built-in Marketplace (formerly HACS); see how to install HACS and use the Marketplace.
Step 1: Choose an installation method
Home Assistant’s installation page lists two installation types for new users: Home Assistant Operating System and Home Assistant Container.
| Method | What you get | Apps support | Who it suits |
|---|---|---|---|
| Home Assistant Green | Home Assistant OS preinstalled on dedicated hardware | Yes | Beginners who want plug-and-play |
| Home Assistant OS on your own hardware | Full appliance on a Raspberry Pi 4/5 or x86-64 PC | Yes | Most people with spare hardware |
| Home Assistant OS in a VM | Same appliance on Proxmox or another hypervisor | Yes | Existing home-lab users |
| Home Assistant Container | Just the Home Assistant app in Docker | No | People who already run a Docker host |
The docs state that “Home Assistant Operating System is the recommended installation type.” It manages updates, backups and apps for you. Container gives you only the core application: you update the image yourself, and features that rely on apps (the installation page names Thread and Z-Wave among them) don’t work out of the box.
If you’re still choosing hardware, our comparison of Home Assistant Green vs Yellow, Raspberry Pi and mini PCs covers the options in detail.
Step 2: Install Home Assistant OS
On a Raspberry Pi
The official Raspberry Pi guide supports the Raspberry Pi 5 or 4 with at least 2 GB of RAM, a microSD card of at least 32 GB (an A2 “Application Class 2” card is recommended), and a proper power supply; the docs warn that a computer’s USB port won’t supply enough power.
- Install Raspberry Pi Imager on your computer.
- Choose the OS: Other specific-purpose OS, then Home automation, then Home Assistant, and pick the image for your Pi model.
- Write it to the microSD card and eject it.
- Insert the card, connect Ethernet and power on the Pi.
On an x86-64 mini PC
Home Assistant’s generic x86-64 page requires a 64-bit system that can boot with UEFI; in the firmware, enable UEFI boot and disable Secure Boot. The boot drive must use 512-byte logical sectors (native 4Kn drives won’t work). There’s no installer: you write the haos_generic-x86-64 image directly to the internal disk. The recommended way is to boot the PC from a live Ubuntu USB stick (at least 8 GB), choose “Try Ubuntu,” and use the Disks utility’s “Restore Disk Image” option to write the image to the internal drive. The alternative is to remove the drive, flash it with Balena Etcher on another computer using “Flash from file,” and reinstall it.
In a virtual machine
If you run Proxmox, Home Assistant OS installs as a VM from the same project’s virtual disk images. A VM gives you snapshots before updates and lets the hardware run other services too. Start with the Proxmox setup guide if the hypervisor isn’t installed yet.
As a Docker container
If you already run Docker Engine on Linux, Home Assistant publishes an official Compose file using the image ghcr.io/home-assistant/home-assistant:stable with host networking. The docs require Docker Engine 23.0.0 or later and say Docker Desktop will not work. With the official compose.yaml saved in a project folder, start it with:
docker compose up -d
docker compose logs -f homeassistant
The first command creates and starts the container in the background; the second follows its log so you can see when startup finishes (Ctrl+C stops following). Container installs are reached on port 8123. If other devices can’t connect, the docs point to the host firewall blocking TCP 8123. Our docker compose vs docker run guide walks through the official run command and compose file line by line.
Step 3: Onboarding
Give Home Assistant a few minutes after first boot, then open a browser on a computer on the same network.
- Open the welcome page. For Home Assistant OS this is usually
http://homeassistant.local/; if that fails, the docs suggesthttp://homeassistant.local:8123/or the device's IP address. For Container, usehttp://YOUR_HOST:8123. - Wait for preparation. The "Preparing Home Assistant" screen can take 20 minutes or more, depending on hardware and internet speed.
- Create or restore. Select "Create my smart home" for a fresh start, or restore from an uploaded backup or from Home Assistant Link.
- Create the owner account. Enter a name, a lowercase username with no spaces, and a strong, unique password. This account has full admin rights.
- Set your home location by searching your address, using Detect, or dragging the marker. It drives sunrise/sunset automations, weather and presence.
- Choose analytics. Sharing is off by default; opt in to whatever you're comfortable with.
- Review discovered devices, then select Finish to open the default dashboard.
Step 4: Add your first integrations
Integrations are how Home Assistant talks to devices and services. Go to Settings > Devices & services. Devices Home Assistant has already found on your network appear in the Discovered section, where you can add them with a click (some ask for a code or login). For anything else, select Add integration in the bottom-right corner and search by name.
Good first integrations, in a sensible order:
- Whatever was discovered on your network: smart TVs, printers, speakers, network devices.
- A local-first device you already own, such as a smart plug or bulb that works over your LAN without a vendor cloud.
- Your phone, by installing the Home Assistant Companion app and signing in, which adds presence and phone sensors.
- A no-hardware helper like the Workday integration, which the official tutorial uses as its example for workday-based automations.
- Zigbee, Thread or Z-Wave only once you have a compatible radio; Home Assistant Green, for example, needs a USB adapter for Zigbee.
Add devices gradually and give each a clear name and an area (room). It makes dashboards, voice commands and automations much easier later.
Step 5: Turn on backups before you build too much
Go to Settings > System > Backups and select Set up backups. The setup asks you to download an emergency kit, which contains the encryption key: backups are encrypted by default, and you cannot restore them without that key. Store it in a password manager or somewhere off the Home Assistant device.
Then choose a schedule (daily or specific days), how many automatic backups to keep, and where to store them. Backups are kept locally by default; you can add a NAS or cloud integration as a location, and Home Assistant Link subscribers can store their most recent backup (up to 5 GB) there. The documentation recommends keeping a copy on another system, ideally off-site, because a local-only backup dies with a failed SD card or SSD.
Step 6: Basic security and network settings
- Use a strong, unique password and turn on multi-factor authentication in your user profile, as Home Assistant's security checklist recommends.
- Give the device a DHCP reservation in your router so its IP address never changes.
- Install updates with each monthly release, after a backup.
- Check Settings > System > Network to confirm which port your instance uses (80 for new Home Assistant OS installs from 2026.8, 8123 for Container).
- Don't forward Home Assistant's port from your router to the internet.
For access away from home, use Home Assistant Link, a VPN, or a carefully configured reverse proxy. Our guide on how to access Home Assistant remotely compares those options and their risks.
Troubleshooting the first boot
| Symptom | Likely cause | What to try |
|---|---|---|
| Browser can’t find homeassistant.local | mDNS not supported on your device or network | Use the IP address from your router’s client list |
| Page doesn’t load on port 80 | Older install or port in use | Try port 8123 |
| Stuck on “Preparing Home Assistant” | First download still running | Wait 20+ minutes; check Ethernet and internet |
| x86 PC won’t boot the disk | Legacy BIOS mode, Secure Boot on, or 4Kn disk | Enable UEFI, disable Secure Boot, use a 512n/512e drive |
| Raspberry Pi reboots randomly | Weak power supply or poor SD card | Use an official-spec supply and an A2 card |
| Container not reachable from other devices | Host firewall blocking TCP 8123 | Allow 8123 on the LAN only |
Once the basics are in place, the Home Assistant section has more guides, and what is self-hosting covers the wider picture if Home Assistant is your first self-hosted service.
Frequently asked questions
Which Home Assistant installation method should I choose?
Home Assistant's documentation calls Home Assistant OS the recommended installation type. Choose Container only if you already run a Docker host and accept that apps (formerly add-ons) aren't available and updates are your job.
Why can't I open homeassistant.local?
Some networks and devices don't resolve .local names. Use the device's IP address from your router's client list instead, and try port 8123 if port 80 doesn't respond. The first start can take 20 minutes or more.
Is Home Assistant free?
Yes, the software is free and open source and runs locally without an account. Home Assistant Link (formerly Home Assistant Cloud) is an optional paid subscription for easy remote access, voice assistant links and offsite backups.
Can I install Home Assistant on Docker Desktop for Windows or Mac?
Home Assistant's Linux container guide says Docker Desktop will not work and requires Docker Engine 23.0.0 or later. On Windows or macOS, run Home Assistant OS in a virtual machine instead.
Sources
- Installation: Home Assistant
- Onboarding Home Assistant: Home Assistant
- Raspberry Pi installation: Home Assistant
- Generic x86-64 installation: Home Assistant
- Linux (Home Assistant Container installation): Home Assistant
- Adding integrations: Home Assistant
- Backups: Home Assistant
- Securing: Home Assistant
- HTTP (network settings): Home Assistant
We research every guide from manufacturer documentation, government and standards bodies, and other primary sources, which are cited at the end of each article. We do not accept payment for coverage. Read our editorial policy to see how articles are researched, fact-checked and updated, or tell us if something is out of date.