Setting up the DIR-868L is about the typical example of setting up a home router, as shown in this How To post.
You plug the router into an outlet, connect its WAN port to an Internet source with an network cable (one is included with the router).