Answers.Body: <p>You can find the site key information you need in the System Administrator Guide: <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/site-key/" rel="noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/site-key/</a></p>
  
  <p>The API key is in the database and needs to be set up for a contact that has access. You can install the API Key extension which will enable the API Key in the contact summary if you have admin rights: <a href="https://civicrm.org/extensions/api-key" rel="noreferrer">https://civicrm.org/extensions/api-key</a></p>
  
  <p>The URL of the CiviCRM instance will be in your civicrm.settings.php. You can check it in the UI if you navigate to Administer>System Settings>Directories and click on the question mark in the green bit on the top of the screen. You will see a window in the right hand corner of the screen and the civicrm.root will be the URL for your CiviCRM instance.</p>
  
  <p>Hope this helps!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T13:31:56.817Z
Answers.Text: Do you mean Administer > System Settings > Resource URLs?  civi.root can refer to root directory or root URL, depending on which context you're accessing it from.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T13:58:51.233Z
Answers.Text: I mean from Administer>System Settings>Directories and then click on the question mark. That will show you the directory AFAIK?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T18:53:44.077Z
Answers.Text: It will! But Marcos is asking for the URL, not the directory :)
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-21T13:13:58.057Z
Answers.Text: My bad! So you should look in the Resource URL like @JonG suggested :-)
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-17T08:39:27.760Z
Answers.LastActivityDate: 2019-06-17T08:39:27.760Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>We want to connect CiviCRM with our payment processor (Twingle). We need to find the API key, the site key and the URL of the CiviCRM instance, but we can't seem to find them.</p>
  
  <p>Where can we find them?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-22T22:22:59.747Z
Comments.Text: Does this answer your question? [I need to find the Host URL, Site key and API key](https://civicrm.stackexchange.com/questions/20592/i-need-to-find-the-host-url-site-key-and-api-key)
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <api>
Title: Where is the API key?
ThreadText: # Where is the API key?
  
  (Asked by: username_0 on 2019-06-17)
  
  We want to connect CiviCRM with our payment processor (Twingle). We need to find the API key, the site key and the URL of the CiviCRM instance, but we can't seem to find them.
  
  Where can we find them?
  
  **Tags:** api
  
  > **Comments:**
  > **username_1**: Does this answer your question? [I need to find the Host URL, Site key and API key](https://civicrm.stackexchange.com/questions/20592/i-need-to-find-the-host-url-site-key-and-api-key)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-06-17. Score: 8
  
  You can find the site key information you need in the System Administrator Guide: <https://docs.civicrm.org/sysadmin/en/latest/setup/site-key/>
  
  The API key is in the database and needs to be set up for a contact that has access. You can install the API Key extension which will enable the API Key in the contact summary if you have admin rights: <https://civicrm.org/extensions/api-key>
  
  The URL of the CiviCRM instance will be in your civicrm.settings.php. You can check it in the UI if you navigate to Administer>System Settings>Directories and click on the question mark in the green bit on the top of the screen. You will see a window in the right hand corner of the screen and the civicrm.root will be the URL for your CiviCRM instance.
  
  Hope this helps!
  
  > **Comments:**
  > **username_1**: Do you mean Administer > System Settings > Resource URLs?  civi.root can refer to root directory or root URL, depending on which context you're accessing it from.  
  > **username_2**: I mean from Administer>System Settings>Directories and then click on the question mark. That will show you the directory AFAIK?  
  > **username_1**: It will! But Marcos is asking for the URL, not the directory :)  
  > **username_2**: My bad! So you should look in the Resource URL like @JonG suggested :-)  
  
  ---
  
  