To install Flatpak, enable the ~amd64 keyword for sys-apps/flatpak, acct-user/flatpak and acct-group/flatpak:echo -e 'sys-apps/flatpak ~amd64 acct-user/flatpak ~amd64 acct-group/flatpak ~amd64 dev-util/ostree ~amd64' >> /etc/portage/package.accept_keywords/flatpak
Then, install Flatpak:emerge sys-apps/flatpak
Add the Flathub repository
Flathub is the best place to get Flatpak apps. To enable it, run:flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
To complete setup, restart your system. Now all you have to do is install some apps!
Note: graphical installation of Flatpak apps may not be possible with Gentoo.