Setting Up a Config File

  1. If you haven't done so already, create a sailthru account and download the appropriate client library.
  2. Add this to your config file or create a new config file with the following (If you are using PHP):
    include("sailthru/Sailthru_Client_Exception.php");
    include("sailthru/Sailthru_Client.php");
    include("sailthru/Sailthru_Util.php");
    
    $sailthru = new Sailthru_Client([YOUR SAILTHRU API KEY], [YOUR SAILTHRU SECRET]);
    

    You can find your api key by going to this page and clicking on the lock next to "API Key / Secret".

  3. You're now ready to use the sailthru client to send messages, manage lists, and much much more.
 
/var/www/docs.sailthru.com/htdocs/data/pages/api/tutorials/getting-started.txt · Last modified: 2012/01/26 09:52 by Vanessa Sorenson
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki