{
    "componentChunkName": "component---src-templates-article-page-template-js",
    "path": "/concepts/applications/",
    "result": {"data":{"markdownRemark":{"frontmatter":{"title":"Applications","slug":"applications","updated":"2019-12-10T00:00:00.000Z","category":"concepts-development","ingress":"Flex Applications are the entities that authenticate to and access the Flex APIs.","skills":null},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In Flex, accessing the\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/concepts/marketplace-api-integration-api/"},"children":[{"type":"text","value":"Marketplace API or the Integration API"}]},{"type":"text","value":"\nstarts with creating an\n"},{"type":"element","tagName":"a","properties":{"href":"https://flex-console.sharetribe.com/applications","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"application"}]}]},{"type":"text","value":". Each\napplication has the necessary credentials (client ID and optional client\nsecret) that are used to "},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/concepts/authentication-api/"},"children":[{"type":"text","value":"authenticate"}]},{"type":"text","value":"\nyour application to the Flex APIs."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Applications come in two types: Marketplace API applications and\nIntegration API applications. Marketplace API applications have only a\nclient ID, while Integration API applications have both a client ID and\na client secret. As a general rule, the client ID can be considered\npublic information, while the client secret must always be kept secure."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"best-practices","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#best-practices","ariaLabel":"best practices permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Best practices"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Create a separate application for each of your systems that access the\nFlex APIs. For example, if you have a web and a mobile app, create two\nseparate Marketplace API applications."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"IMPORTANT"}]},{"type":"text","value":" Always keep your Integration API application's client\nsecret secure. Never expose it in a untrusted device or application,\nsuch as end users' browsers or mobile apps."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Name your applications so that it is easier for you to recognize how\neach one is used. For instance, use names like \"Web UI\", \"iOS mobile\napp\", \"reporting\", \"mailing list integration\", etc."}]},{"type":"text","value":"\n"}]}],"data":{"quirksMode":false}},"headings":[{"value":"Best practices","depth":2}]}},"pageContext":{"slug":"applications","category":"concepts-development"}},
    "staticQueryHashes": ["3794076007","439097193","717698143"]}