Get your API credentials from your SquareUp developer dashboard: https://developer.squareup.com/apps
Get LocationID for your application:
Enter them under your payment settings and enable SquareUp payments (make sure you set Environment to the same one you have keys for):