Improvise
Pick a key, a progression to play over, and a scale to solo with - then step through the chords one at a time to see which notes are chord tones, which are scale "color notes," and which are both.
Key
Progression or cadence
Scale to solo with
Select a key, then either pick a progression/cadence or build your own chord sequence, to begin.