 <p>You set the api endpoint like this:</p> <pre><code>cf api https://api.ng.bluemix.net </code></pre> <p>and then you login with <code>cf login</code>.</p> <p>Alternatively you can use the European endpoint:</p> <pre><code>cf api https://api.eu-gb.bluemix.net </code></pre> <p>EDIT:</p> <p>Alternatively, as you were implying, you can pass the API endpoint to <code>cf login</code> directly via the <code>-a</code> option:</p> <pre><code>cf login -a https://api.ng.bluemix.net -u &lt;ibm.com id&gt; </code></pre>