So im trying to work out walking basslines for jazzy stuff. Im not sure when to use chromatics and when to stick with notes in the key.
Just keep playing, it will come naturally eventually. When starting out you should stick with chord tones, then once you get that down stay within the key and hit chord tones where appropriate, then the chromatics will come naturally.