Badges update automatically and link to the data pack page on MineUniverse.
For instructions on how to install a data pack click here to see the tutorial on Fandom.
(Neo)Forge/Fabric/Quilt Users: BizCub's Simple Datapacks greatly simplifies the installation process.