I use to do this a lot on shirt bottoms . I just wound the elastic thread as normal on the bobbin , long stitch and sewed as normal. Usually did at least three rows, with about 1/4 inch in between. I used my pressure foot as a guide after the first row.