How you proceed after that first week depends on what you want from your dog. I like my dogs to sleep in my room, on the floor, so when the puppy is newly housetrained, I let her sleep next to my bed, but no longer in a box. The room is small, so she does not wander around and chew on things or defecate during the night.
As soon as I wake up, I take the puppy out so that she can do her business. I live in the tropics so my front door is open during the day so that the puppy can go out as often as she needs to. If you are going to be gone for several hours during the day, be sure to provide a playpen for her to limit her movements. She will be okay "holding it" for several hours, but you should not expect her to go 8 hours without urinating.
After several months, usually, when the puppy is 5 or 6 months old, I leave my door open at night. The puppy is used to sleeping through the night without any problems by that point.