This study is an R34 project funded through the National Institute on Drug Abuse (NIDA). This study seeks to adapt and test an app-based positive psychological program, which uses a just-in-time adaptive intervention design. Specifically, this study involves collaboration with a community advisory board to tailor this mHealth intervention for sexual minority men living with HIV, who report substance use.