Integrating encoder wheels depends on what you want to do with them. Do you want to track the exact position on the field?, if so I would refer to a post by team 5225a to start. This is a major undertaking, but allows for amazing autonomous program flexibility.
A much simpler solution is to use the encoders for simple distance tracking. in this case, set the motors to drive forward until the tracking wheel detects a certain amount of movement.