In this chapter I will lead you through the process of setting up the environment: installing R Studio, creating Google Analytics account and creating the connection via API between both tools.