Officially Dedicating Your Life To Do God’s Will

How do you officially dedicate your life to do God’s will? What does it mean to be dedicated?