I always done pasta dough buy hand which is pretty easy but do use a pasta roller on my kitchen aid to roll it out as well as the other attachment for making the shapes I want.
Here is the recipe I've had good luck with a basic pasta dough mix by Mario Batali and for the flower I have used others such as semolina for all as well as half.
Basic Pasta Dough
3 1/2 to 4 cups all-purpose flour
4 extra-large eggs
1/2 teaspoon extra-virgin olive oil
Directions
Mound 3 1/2 cups of the flour in the center of a large wooden cutting board. Make a well in the middle of the flour and add the eggs and olive oil. Using a fork, beat together the eggs and oil and begin to incorporate the flour, starting with the inner rim of the well. As you expand the well, keep pushing the flour up from the base of the mound to retain the well shape.
The dough will come together when half of the flour is incorporated. At this point, start kneading the dough with both hands, using the palms of your hands.
Once there is a cohesive mass, remove the dough from the board and scrape up and discard any leftover bits. Lightly reflour the board and continue kneading for 6 more minutes. The dough should be elastic and a little sticky.
Wrap the dough in plastic and allow to rest for 30 minutes at room temperature.
Roll or shape as desired.