title: How to authenticate to a dropbox account and get a file with the PHP SDK?
body: <p>I am putting together a small php script that fetches a file from a dropbox account. It's used to import CSV data to client's websites. </p>
  
  <p>Until now, I used shared links from dropbox for such tasks, but now the data is less public, and I want to authenticate to my client's account.</p>
  
  <p>There is a tutorial on <a href="https://www.dropbox.com/developers-v1/core/sdks/php" rel="nofollow">https://www.dropbox.com/developers-v1/core/sdks/php</a> and further, but I wrote down a step-by-step guide I hope is helpful to others for their first steps with the Dropbox API.</p>
  
  <p>I used the PHP sdk, but probably it's quite similar for all the other SDKs.</p>
  
  <p>So, how do I authenticate to a dropbox account and get a file's content?</p>