title: Connecting Bot Framework with LUIS. Which AppId and AppKey should I use?
body: <p>I am trying to use a LUIS bot connect with a bot that is registered on azure. However, I am confused about which keys and Ids should I use. I have the follow 'informations':</p>
  
  <p>On Azure:
  Bot handle, Microsoft App ID and Microsoft App Password.</p>
  
  <p>On LUIS:
  App ID, App Name, Programmatic API Key</p>
  
  <p>When coding, in the "LUIS Class", I have:</p>
  
  <pre><code>[LuisModel("ID",    "Key")]
  [Serializable]
  public class EstadosLuis : LuisDialog&lt;object&gt;
  {...
  </code></pre>
  
  <p>Question 1 - What Id and Key should I use here?</p>
  
  <p>On the web.config I have:</p>
  
  <pre><code>&lt;add key="BotId" value="BotName" /&gt;
  &lt;add key="MicrosoftAppId" value="AppID" /&gt;
  &lt;add key="MicrosoftAppPassword" value="APPKey" /&gt;
  </code></pre>
  
  <p>Question 2 - What Id and Key should I use here?</p>
  
  <p>Question 3- When using the Microsoft Bot Framework Channel Emulator, which Bot URl, App Id and App Password should I use (Local testing)</p>
  
  <p>Question 4- When using the Microsoft Bot Framework Channel Emulator, which Bot URl, App Id and App Password should I use (Online testing)</p>
  
  <p>Thank you!</p>