# Connect

<div className="cli-command">
  {<pre>Usage: settlemint connect <br />Examples:<br /><br />  # Connect to your environment<br />  $ settlemint connect<br /><br />  # Connect to your environment using defaults from the .env file<br />  $ settlemint connect --accept-defaults<br /><br />  # Connect to your production environment<br />  $ settlemint connect --prod<br /><br />  # Connect to a standalone environment (when not using the SettleMint platform)<br />  $ settlemint connect --instance standalone<br /><br />  # Connect to a local development environment<br />  $ settlemint connect --instance local<br /><br />Connects your dApp to your application<br /><br />Options:<br />  --prod                     Connect to your production environment<br />  -a, --accept-defaults      Accept the default and previously set values<br />  -i, --instance &lt;instance&gt;  The instance to connect to (defaults to the<br />                             instance in the .env file). Use &#039;standalone&#039; if<br />                             your resources are not deployed on the SettleMint<br />                             platform<br />  -h, --help                 display help for command<br /></pre>}
</div>
