<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I use the card I created? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402168#M39827</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;oh, that's a problem – you can't return to a local server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually we authorise through a public server then copy the OAuth tokens to the local server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once they are on the local server they work normally (with refresh tokens).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like you may need to stick to the Hapikey.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 04:00:24 GMT</pubDate>
    <dc:creator>Mike_Eastwood</dc:creator>
    <dc:date>2021-01-22T04:00:24Z</dc:date>
    <item>
      <title>How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/400531#M39596</link>
      <description>&lt;P&gt;I read this doc&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/extensions/custom-cards&lt;/A&gt;&amp;nbsp;and create an app. Then created a card in the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, how can I use the card I just created?&lt;/P&gt;&lt;P&gt;I access to hubspos dashboard by this URL:&amp;nbsp;&lt;A href="https://app.hubspot.com/dashboard-library/8013920" target="_blank"&gt;https://app.hubspot.com/dashboard-library/8013920&lt;/A&gt;. And the app and card were created by a develop account. How does the develop account link the the dashboard? Or how does the app link to the dashboard? All concepts "app", "dashboard", "develop account", "card" are confusing me and I can't find doc about how to use them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide me some guide on this thanks?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 03:18:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/400531#M39596</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-18T03:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/401099#M39662</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The app lives in your developer account.&lt;/P&gt;
&lt;P&gt;The dashboard lives in a normal portal.&amp;nbsp; You would need to connect the app to the portal.&amp;nbsp; &lt;A href="https://developers.hubspot.com/docs/api/intro-to-auth" target="_blank" rel="noopener"&gt;Here&lt;/A&gt; is a doc on authentication methods for your app.&amp;nbsp; We strongly advise using &lt;A href="https://developers.hubspot.com/docs/api/working-with-oauth" target="_blank" rel="noopener"&gt;OAuth&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Good luck with your project!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 17:23:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/401099#M39662</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-19T17:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/401737#M39748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The doc&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/intro-to-auth" target="_blank"&gt;https://developers.hubspot.com/docs/api/intro-to-auth&lt;/A&gt;&amp;nbsp;you mentioned, doesn't really tell how to connect the app to the portal. I have three accounts in the normal portal, `prod`, `staging` and `dev`. And I created a developer account. How does the develop account link to each normal portal account?&lt;/P&gt;&lt;P&gt;I also read this doc&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/working-with-oauth" target="_blank"&gt;https://developers.hubspot.com/docs/api/working-with-oauth&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it only says how to configure auth in develop account. It doesn't mention how to connect it to portal account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let me know how to connect?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 05:48:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/401737#M39748</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-21T05:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402004#M39779</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you create the app, you will creating an auth url that will be used to authorize the app to be used in a portal (can be multiple).&amp;nbsp; Once approved, there will be a redirect to a success page of your creation.&lt;/P&gt;
&lt;P&gt;Maybe &lt;A href="https://developers.hubspot.com/docs/api/oauth-quickstart-guide" target="_blank" rel="noopener"&gt;this doc&lt;/A&gt; will spell it out better &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 17:21:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402004#M39779</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-21T17:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402121#M39809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@dennised&lt;/P&gt;&lt;P&gt;thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My use case is that I have a bandend service which will talk to hubspot via API to manage users, companies, tickets, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to embed an external website into a card which can be open when users click on the card in their company.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on that, do I need to create an app? or extension? Do I need to use oauth at all?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 22:56:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402121#M39809</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-21T22:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402123#M39810</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need an app in which you will create your CRM card extension.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will also need OAuth as stated in the &lt;A href="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards?_ga=2.29290233.416843925.1611071415-1273358196.1598626193" target="_blank" rel="noopener"&gt;docs&lt;/A&gt; &lt;/P&gt;
&lt;H4&gt;Scope requirements&lt;/H4&gt;
&lt;P&gt;To create custom CRM cards, your app has to request the OAuth scopes needed to modify the CRM records where your card will appear. This means you request the &lt;CODE&gt;contacts&lt;/CODE&gt; scope to set up a card for contacts, companies, or deals, and the &lt;CODE&gt;tickets&lt;/CODE&gt; scope to do the same for tickets.&lt;/P&gt;
&lt;P&gt;See the OAuth documentation for &lt;A href="https://developers.hubspot.com/docs-beta/working-with-oauth?_ga=2.29290233.416843925.1611071415-1273358196.1598626193" rel=" noopener" target="_blank"&gt;more details about scopes&lt;/A&gt; and setting up the authorization URL for your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 23:01:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402123#M39810</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-21T23:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402160#M39822</link>
      <description>&lt;P&gt;Is the oauth required to build a app and CRM card extension? Can I use app api key instead?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hubspot is mainly used by my backend service no other people is going to use. I don't see any benefits to bring oauth in.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 03:24:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402160#M39822</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-22T03:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402161#M39823</link>
      <description>For a crm card, yes&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jan 2021 03:26:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402161#M39823</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-22T03:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402162#M39824</link>
      <description>&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt; might be able to provide some more insight!</description>
      <pubDate>Fri, 22 Jan 2021 03:28:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402162#M39824</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-22T03:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402164#M39825</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend putting in the extra effort to set up OAuth2, even if it's only you using it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you authorise the App, in your Portal, you can still use the Hapikey for development.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, for day to day use, we alays set up an OAuth connection because it's more reliable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When testing I like to use &lt;A href="https://www.postman.com/" target="_blank" rel="noopener"&gt;Postman&lt;/A&gt; to check everything's working as planned (using both OAuth and the Hapikey).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you go with OAuth you need to make sure you Scopes are identical and in the same order as your App (e.g. same in your code as the app because it creates a hash that won't be the same if the order is different).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 03:39:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402164#M39825</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2021-01-22T03:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402166#M39826</link>
      <description>&lt;P&gt;In oauth setup process, how can I fill in redirect url since I don't have any backend service open to the public.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 03:55:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402166#M39826</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-22T03:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402168#M39827</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;oh, that's a problem – you can't return to a local server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually we authorise through a public server then copy the OAuth tokens to the local server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once they are on the local server they work normally (with refresh tokens).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like you may need to stick to the Hapikey.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 04:00:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402168#M39827</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2021-01-22T04:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402171#M39828</link>
      <description>&lt;P&gt;That's what I am thinking. But the question is how to install an app/extension via Hapikey?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 04:18:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402171#M39828</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-01-22T04:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the card I created?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402173#M39830</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158229"&gt;@JZhao&lt;/a&gt;&amp;nbsp;– my mistake – you have to have publicly accessible URLs to use CRM Cards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the CRM loads it calls the URL for the CRM Extension and loads the returned JSON into the CRM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you will need to set up an external server and OAuth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 04:30:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-use-the-card-I-created/m-p/402173#M39830</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2021-01-22T04:30:14Z</dc:date>
    </item>
  </channel>
</rss>

