You can find very cheap, ready-to-use boards on Ebay or AliExpress, with or without a volume pot. Or design your own with the temporary KiCAD design below, and integrate it into your own projects...
There are also other variants of this amplifier IC:
- PAM8302A (mono, 2.5 W, QFN package available)
- PAM8404 (stereo, 3W, QFN package available)
- PAM8620 (stereo, more power (15 W))
Hint: To open the project with the local 3d models, you can start KiCAD with run.sh in the project directory.