Diabetes impacts nearly 25% of veterans. Many veterans do not engage in recommended physical activity and other diabetes self-management behaviors. Type 2 diabetes is generally asymptomatic; as such, the long-term consequences of inadequate self-management and benefits of consistent self-management are not salient in the short term. Furthermore, self-management behaviors typically take place outside of medical visits; however, self-management-related factors are only assessed during medical visits, likely missing large amounts of variability. Thus, ambulatory assessment methods such as ecological momentary assessment (EMA), accelerometry, and continuous glucose monitoring are needed to understand the dynamics of daily self-management and identify potential intervention targets. The overarching goal of this study is to understand daily, time-varying factors (comorbid affective symptoms and social context) that influence physical activity, diabetes self-management, glycemic management, daily functioning, and quality of life in participants' natural environments. We are recruiting veterans with type 2 diabetes (target N=100). Participants are required to complete a battery of baseline assessments related to mental health, psychosocial factors, and self-management behaviors. Participants then receive 5 momentary EMA surveys and 1 daily EMA survey per day, in which veterans report comorbid affective symptoms (mood, stress, and pain), social support, social interactions, physical activity, and other self-management behaviors. Momentary surveys are delivered randomly during daily preprogrammed intervals over a 14-day sampling period. Accelerometry and continuous glucose monitoring are also used to assess physical activity and blood glucose, respectively. The first 6 participants also completed interviews assessing their experience in the study and barriers to participation. These test participants informed modifications to the protocol for the remaining participants. The project received funding in April of 2023. Enrollment began in March of 2023 and is planned to be completed in April 2025. Among the 6 test participants, the overall EMA response rate was 87% (range 74%-95%). The response rate for the EMA survey including daily items (67%, range 21%-93%) was lower than the earlier shorter EMA surveys (89%, range 81%-96%). The mean rate of valid accelerometer wear of at least 20 hours per day was 93% (SD 11%), and continuous glucose monitoring data were available for 91% (SD 17%) of days on average. Participants reported few barriers to completing EMA surveys but noted the random timing of questions made it difficult to plan around, and the end-of-day survey was long. Two participants reported survey items reminded or motivated them to engage in diabetes self-management behaviors. Assessment tools developed from this study can inform clinical decision-making by considering barriers to self-management that occur in daily life. Clinical applications include tailored, adaptive technology-supported interventions to improve self-management that provide the right type and amount of support at the right time by adapting to an individual's changing internal and contextual state. DERR1-10.2196/53874.