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.