{
    "componentChunkName": "component---src-templates-article-page-template-js",
    "path": "/introduction/getting-started-with-ftw-daily/",
    "result": {"data":{"markdownRemark":{"frontmatter":{"title":"Getting started with Flex Template for Web","slug":"getting-started-with-ftw-daily","updated":"2021-12-14T00:00:00.000Z","category":"introduction-getting-started","ingress":"Learn how to install one of the Flex Templates for Web (FTW) to your local development environment.","skills":"basic command line, text editing"},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Flex Templates for Web (FTW) are marketplace web applications built on\ntop of the\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/operator-guides/concepts/#marketplace-api"},"children":[{"type":"text","value":"Marketplace API"}]},{"type":"text","value":". While you\ncan create a marketplace purely using just the API, it requires a\nsignificant amount of effort (both money and time) and we recommened\nusing the template as a starting point for customizations."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"FTW-daily is built with "},{"type":"element","tagName":"a","properties":{"href":"https://reactjs.org/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"React"}]},{"type":"text","value":",\n"},{"type":"element","tagName":"a","properties":{"href":"https://redux.js.org/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Redux"}]},{"type":"text","value":", and\n"},{"type":"element","tagName":"a","properties":{"href":"https://github.com/css-modules/css-modules","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"CSS Modules"}]},{"type":"text","value":". It also\ncontains a small "},{"type":"element","tagName":"a","properties":{"href":"https://nodejs.org/en/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Node.js"}]},{"type":"text","value":" server, which\nprovides server-side rendering (SSR) for the production site."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The purpose of this guide is to clone and configure FTW-daily to your\nlocal development environment - and then get it up and running. This\nguide also helps you to create accounts to Stripe and Mapbox. Those\nservices are needed to run the FTW-daily template app."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"If you want to use FTW-hourly or FTW-product as your starting point, you\ncan find the relevant options in this tutorial as well. However, if you\nare intending to work through the tutorial steps, we recommend starting\nwith FTW-daily, as it is the basis for the tutorials."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"setup-a-development-environment","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#setup-a-development-environment","ariaLabel":"setup a development environment 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":"Setup a development environment"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"prerequisities","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#prerequisities","ariaLabel":"prerequisities 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":"Prerequisities"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"To get FTW up and running, you will need to download and install some\nbasic development tooling:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://git-scm.com/downloads","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Git"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://nodejs.org/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Node.js"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://classic.yarnpkg.com/en/docs/install","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Yarn"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"install-the-ftw-daily-app-locally","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#install-the-ftw-daily-app-locally","ariaLabel":"install the ftw daily app locally 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":"Install the FTW-daily App locally"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Open Terminal"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Clone"}]},{"type":"text","value":"\nFTW-daily repository:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"git"}]},{"type":"text","value":" clone https://github.com/sharetribe/ftw-daily.git"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"extrainfo","properties":{"title":"FTW-hourly and FTW-product"},"children":[{"type":"text","value":"\nTo clone FTW-hourly, use the command\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"git"}]},{"type":"text","value":" clone https://github.com/sharetribe/ftw-hourly.git"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"To clone FTW-product, use the command"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"git"}]},{"type":"text","value":" clone https://github.com/sharetribe/ftw-product.git"}]}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Go to the cloned directory:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","builtin","class-name"]},"children":[{"type":"text","value":"cd"}]},{"type":"text","value":" ftw-daily/"}]}]}]},{"type":"text","value":"\n "},{"type":"element","tagName":"extrainfo","properties":{"title":"Check how the directory structure should look like"},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"After these steps you should have a directory structure that looks\nlike this for FTW-daily:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"├── ext\n│   └── transaction-process\n├── node_modules\n│   └── // dependencies\n├── public\n│   ├── static\n│   ├── "},{"type":"element","tagName":"span","properties":{"className":["token","number"]},"children":[{"type":"text","value":"500"}]},{"type":"text","value":".html\n│   ├── index.html\n│   └── robots.txt\n├── scripts\n│   ├── audit.js\n│   ├── config.js\n│   └── translations.js\n├── server\n│   ├── api\n│   ├── api-util\n│   ├── apiRouter.js\n│   ├── apiServer.js\n│   ├── auth.js\n│   ├── csp.js\n│   ├── dataLoader.js\n│   ├── env.js\n│   ├── importer.js\n│   ├── index.js\n│   ├── log.js\n│   ├── renderer.js\n│   └── sitemap.js\n├── src\n│   ├── analytics\n│   ├── assets\n│   ├── components\n│   ├── containers\n│   ├── ducks\n│   ├── forms\n│   ├── styles\n│   │   ├── marketplaceDefaults.css\n│   │   └── customMediaQueries.css\n│   ├── translations\n│   ├── util\n│   ├── Routes.js\n│   ├── app.js\n│   ├── config.js\n│   ├── currency-config.js\n│   ├── default-location-searches.js\n│   ├── examples.js\n│   ├── index.js\n│   ├── marketplace-custom-config.js\n│   ├── reducers.js\n│   ├── routeConfiguration.js\n│   ├── store.js\n│   └── stripe-config.js\n├── CHANGELOG.md\n├── LICENSE\n├── README.md\n├── app.json\n├── package.json\n└── yarn.lock"}]}]}]},{"type":"text","value":"\n "}]},{"type":"text","value":"\n"},{"type":"element","tagName":"extrainfo","properties":{"title":"FTW-hourly and FTW-product"},"children":[{"type":"text","value":"\nIf you cloned FTW-hourly:\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","builtin","class-name"]},"children":[{"type":"text","value":"cd"}]},{"type":"text","value":" ftw-hourly/"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"If you cloned FTW-product:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","builtin","class-name"]},"children":[{"type":"text","value":"cd"}]},{"type":"text","value":" ftw-product/"}]}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Install dependency libraries:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" "},{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"install"}]}]}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"mandatory-integrations","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#mandatory-integrations","ariaLabel":"mandatory integrations 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":"Mandatory Integrations"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"FTW templates have 3 mandatory integrations that you need to configure\nbefore the app is fully functional. The app obviously needs to discuss\nwith Flex Marketplace API, but the client app also makes direct calls to\n"},{"type":"element","tagName":"a","properties":{"href":"https://stripe.com/en-fi","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Stripe"}]},{"type":"text","value":". Flex uses Stripe as a payment\nprocessor, and FTW-daily saves sensitive payment information directly to\nit."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The third default integration is to a map provider.\n"},{"type":"element","tagName":"a","properties":{"href":"https://www.mapbox.com","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Mapbox"}]},{"type":"text","value":" provides location search (geocoding)\nand maps for the web app."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/cfea6/FTW-integrations%402x.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 62.26415094339623%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAAsTAAALEwEAmpwYAAABs0lEQVQoz4VS227bMAz1///bsPVhS9ckS9s4tnWjJJKiJMtuBs/dHtqHAQcECB7i8HI6T/IZgXPgHDn7mGKqMZXAOZV5fbvPbd3TwLlDqam0D0CpgKIg/ry8nvvbYD0gl1KHUcWIra0eN4HuZbSHX/25V6frtOP4MipAG0gHuvVwfhyMJcw1l0LEUkqe5yA5pNxdevXl+/Hh8fxwOH87bPHrj1OvwQbWAb0Wd01gxKccUxkMGEtuTHZgAOliRMFQElXhWTgTcvDEyWEygai8i4RUIudeWW2iG5LpCZx0xrqchYiHSfXDyEmEaVLmZbSj9YMBh7xdEdOyrnWe27KUtoQk29gWfESCELV1w6idD4Q4KXN8HUcXjqf+6fF6HUxkub/dRfKytNaW94MZBwiQiYRZEhMiWOMDAoqN5KdsLuSDxFRISm1LnltM+f1VFryZJqeUNcrqyenJTCMENJ61RyoVc92pniT+if+M0HkS+GAS3nSMRx1IQdSAO7Vs+67LsqZc9/5uL3zGbpLj8+3p0t+UA+Sltett8D6sb/f/NG/2TNndWJ8QdIpSpM51bnVu9Ff5N1ifpDz+r3JFAAAAAElFTkSuQmCC'); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/82e29/FTW-integrations%402x.webp 159w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/ef33f/FTW-integrations%402x.webp 318w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/f1837/FTW-integrations%402x.webp 635w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/29549/FTW-integrations%402x.webp 953w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/c5420/FTW-integrations%402x.webp 1270w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/9a76e/FTW-integrations%402x.webp 2318w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/8b9b5/FTW-integrations%402x.png 159w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/fa108/FTW-integrations%402x.png 318w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/53fb6/FTW-integrations%402x.png 635w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/5a426/FTW-integrations%402x.png 953w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/91155/FTW-integrations%402x.png 1270w","/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/cfea6/FTW-integrations%402x.png 2318w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/f04f0ebe0e1309bf638837b9ab3eb541/53fb6/FTW-integrations%402x.png","alt":"Mandatory integrations: Flex Marketplace API, Stripe, Map provider","title":"Mandatory integrations: Flex Marketplace API, Stripe, Map provider","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"FTW templates just need 4 environment variables to make these\nintegrations work."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"#sharetribe-flex-client-id-and-client-secret"},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"REACT_APP_SHARETRIBE_SDK_CLIENT_ID"}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"#sharetribe-flex-client-id-and-client-secret"},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"SHARETRIBE_SDK_CLIENT_SECRET"}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"#stripe-keys"},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"REACT_APP_STRIPE_PUBLISHABLE_KEY"}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"#mapbox-access-token"},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"REACT_APP_MAPBOX_ACCESS_TOKEN"}]}]}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"sharetribe-flex-client-id-and-client-secret","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#sharetribe-flex-client-id-and-client-secret","ariaLabel":"sharetribe flex client id and client secret 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":"Sharetribe Flex client ID and client secret"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"To use the Marketplace API, you will need a "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"client ID"}]},{"type":"text","value":". You can sign\nup for your free Flex account at\n"},{"type":"element","tagName":"a","properties":{"href":"https://www.sharetribe.com/products/flex/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"https://www.sharetribe.com/products/flex/"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When you get access, you will be able to log into Flex Console and check\nthe client ID."},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":" Flex Console: "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Build > Applications"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In addition, FTW templates use transaction processes that include\nprivileged transitions. This makes it possible to customize pricing on\nthe Node server that's included in the template. The "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"client secret"}]},{"type":"text","value":"\nis needed to make this secure call from the template's own server to\nFlex API."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/220e624fb82c286687c67a7cf0080293/53fb6/console-build-application.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 61.63522012578617%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAAsTAAALEwEAmpwYAAABZklEQVQoz42SW0sCQRiG9z+qiBIEtZgFZahd9DsqM6M0xbTDXXTTXf8iiCiyCCuXPc18h5lxY3e7rMWX5+Ib+B54ZxjLm0vHhJpYKxVFESIppYUQUWbmxhijrdxqLWdvldYaBXu7WKmXqo1StZFb2UqHYqVerjbL681ytVms1Jc3d5c2dgr2dt6u5e2atXcy3DsZdgaX7f7FUf/yeHDVPhsfdEet7qjVGx2cnh/2xu2zcas76gyubu/ur2/u9k/PU8tKa0hA3xdBCBIoWjiWlAhAL6/vD4/PT8+Tl8mHHwgpQEr8C0r4PVpECpEASQLOjVFxtNIakYhUNrEMQCIJEWmt50kA8HeJFWfIiOS6rud5UkpjTHofAESMN4RkAZwle4FPzNoYYgYAZkYkxNjxBQciHvA/Ofz8dN/exXQKzkx8f6MfIHIqMynmjNoSaOaIL4cdN0r+WVp7oQdDJCExAcJQpiwi/wBP8oTInv1H3gAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/220e624fb82c286687c67a7cf0080293/82e29/console-build-application.webp 159w","/docs/legacy/static/220e624fb82c286687c67a7cf0080293/ef33f/console-build-application.webp 318w","/docs/legacy/static/220e624fb82c286687c67a7cf0080293/f1837/console-build-application.webp 635w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/220e624fb82c286687c67a7cf0080293/8b9b5/console-build-application.png 159w","/docs/legacy/static/220e624fb82c286687c67a7cf0080293/fa108/console-build-application.png 318w","/docs/legacy/static/220e624fb82c286687c67a7cf0080293/53fb6/console-build-application.png 635w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/220e624fb82c286687c67a7cf0080293/53fb6/console-build-application.png","alt":"Flex Console: Applications tab","title":"Flex Console: Applications tab","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"stripe-keys","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#stripe-keys","ariaLabel":"stripe keys 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":"Stripe keys"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Both Flex API and your client app need to be able to discuss with Stripe\nAPI. Stripe has two different keys:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Secret key"}]},{"type":"text","value":" for server-side requests"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Publishable key"}]},{"type":"text","value":" for calls from web browser"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Flex API uses the Stripe secret key to make payment-related requests\nwhen a transaction moves forward. The client app needs to use the Stripe\npublishable key to run the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"stripe.js"}]},{"type":"text","value":" script. The script has two main\nfunctions: it has fraud detection built in, and it is also used to save\nsensitive information directly to Stripe. For instance, a customer's\ncredit card number is saved directly to Stripe."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"1-create-and-confirm-your-free-stripe-account","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#1-create-and-confirm-your-free-stripe-account","ariaLabel":"1 create and confirm your free stripe account 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":"1. Create and confirm your free Stripe account"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://dashboard.stripe.com/register","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Register to Stripe"}]},{"type":"text","value":". Remember to\nconfirm your email address after the registration."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"As you will receive money from your users via your Stripe account, you\nhave to provide some details such as your address and your bank account.\nIn the Stripe dashboard, click the "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"\"Activate your account\""}]},{"type":"text","value":" link in the\ntop bar and fill in all the fields according to the instructions. The\nactivation form varies based on your country."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/9f306/stripe-activate-account.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 23.89937106918239%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAYAAABFA8wzAAAACXBIWXMAABYlAAAWJQFJUiTwAAAA2ElEQVQY032QQUrEQBBFc1sv4W08gFcwu1m5chQzRBBhGKPDmE53J91dVU+SccRF8MODgqLqV/1q3zl8f8TvG3z3RnADvnf0zjP4yDgliuiCiJKLkoqQixAnoTsG3j9PdB8ngotUzkVCHAlTIYwJHyJTyqjaskBEMLNVZpkKiKAIXxjV9qnluWlpmpbd7oXtY8Ph0DH4gHMDKeXz4NpCMwaF2x6ua+HqJlPdP7hlYL7o4qqqlFwopSz1fxoNXifjrjY2tVJNSX4z+ovML6ut9i7kn1xZTM98A5Oig5p5K/5nAAAAAElFTkSuQmCC'); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/82e29/stripe-activate-account.webp 159w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/ef33f/stripe-activate-account.webp 318w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/f1837/stripe-activate-account.webp 635w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/29549/stripe-activate-account.webp 953w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/c5420/stripe-activate-account.webp 1270w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/29c73/stripe-activate-account.webp 2748w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/8b9b5/stripe-activate-account.png 159w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/fa108/stripe-activate-account.png 318w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/53fb6/stripe-activate-account.png 635w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/5a426/stripe-activate-account.png 953w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/91155/stripe-activate-account.png 1270w","/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/9f306/stripe-activate-account.png 2748w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/e08d9728dbb77f295c6e381c4800060d/53fb6/stripe-activate-account.png","alt":"Activate Stripe account","title":"Activate Stripe account","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"2-enable-stripe-connect-in-your-platform","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#2-enable-stripe-connect-in-your-platform","ariaLabel":"2 enable stripe connect in your platform 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":"2. Enable Stripe Connect in your platform"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Sharetribe uses the "},{"type":"element","tagName":"a","properties":{"href":"https://stripe.com/docs/connect","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Stripe Connect"}]},{"type":"text","value":"\nfeatures with\n"},{"type":"element","tagName":"a","properties":{"href":"https://stripe.com/docs/connect/accounts#custom-accounts","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Custom accounts"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://stripe.com/docs/connect","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Stripe Connect"}]},{"type":"text","value":" is used to route\npayments between customers, providers (sellers), and the marketplace,\nwhich can take a commission from transactions."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://stripe.com/docs/connect/accounts#custom-accounts","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Stripe Custom accounts"}]},{"type":"text","value":"\nare created to hold the provider's account information (e.g. payout\ndetails) on Stripe's side. A Custom Stripe account is almost completely\ninvisible to the account holder, but marketplace operators see the\naccounts on their Stripe dashboard."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"United States"}]},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":" If you're based in The United States, Stripe\nwill need to review your platform account before you get access. See\n"},{"type":"element","tagName":"a","properties":{"href":"https://help.sharetribe.com/en/articles/2815555-apply-for-stripe-connect-review","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"this article"}]},{"type":"text","value":"\nto learn how to apply for Stripe Connect review."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Other countries"}]},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":" If you're in any another country, follow these\ninstructions to enable Stripe Connect:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Click the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Connect"}]},{"type":"text","value":" top menu item, and then click the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Get\nStarted"}]},{"type":"text","value":" button."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/a5f59cac1c034829db34832203229c73/f1e0c/stripe-connect.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 45.283018867924525%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAABMElEQVQoz4WRy27bMBBF9f//1WWWXXSXTVpZliW+38NTkHULpzGSAQ4ogJeHI84SYkRrg9EGa+wdg7MObzQv31758X1F7E47L3QRemvvESGniDoVy5kaoQhPqyTodX72mpEUkCEc9AdEoPeZW85T8/ZzZd+PyTbW7cr29oucMyMm0ul8Xr33yaKUYV2vaGOnIDtHCYGcy+yGexA6xnj2XRFjnHuP/BPeDsV6uXJZN47LhjMW5wOttXc3jzp1Yrt5XIj4mIm54HxEW0+95xdjPeftwCuF937KjHWUUj8IqwguJmJuXA/DoR0+FbQNlPZnDksTodb66bv8FZbaMD5OiTIR7RIuZqxP1CnsLM8OP2NULhXrIyEVYq7kKnMdvz8amx1+JXpkPMMY1iDdh/Z/5jcb08DgvKb6vQAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/a5f59cac1c034829db34832203229c73/82e29/stripe-connect.webp 159w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/ef33f/stripe-connect.webp 318w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/f1837/stripe-connect.webp 635w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/29549/stripe-connect.webp 953w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/c5420/stripe-connect.webp 1270w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/00498/stripe-connect.webp 2508w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/a5f59cac1c034829db34832203229c73/8b9b5/stripe-connect.png 159w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/fa108/stripe-connect.png 318w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/53fb6/stripe-connect.png 635w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/5a426/stripe-connect.png 953w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/91155/stripe-connect.png 1270w","/docs/legacy/static/a5f59cac1c034829db34832203229c73/f1e0c/stripe-connect.png 2508w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/a5f59cac1c034829db34832203229c73/53fb6/stripe-connect.png","alt":"Stripe connect","title":"Stripe connect","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Once a modal opens, select "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Platform or marketplace"}]},{"type":"text","value":" and click\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Continue"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/2404dead022fa87ddde117df3959b08a/1d7e2/stripe-connect-activate.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 53.459119496855344%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAABYlAAAWJQFJUiTwAAAB6UlEQVQoz22T22rcMBRF5///py+FUuhDoW95CU2aZBp7PLZsy7pYluTLzKwiTTKhpQcWWxJmI519vHt8OfC7bCgqcdPXg+Duvub+8cihbhG9RvTqDY3oFM0/pLOH55JdLSSyl7SiQzQtQrS0okfKgbbtcc4zz0tmmVdiXDifz/yv9mXDriwE5V7SH1VGVArXKSbr8WHD+zWrHiPKRsZpwfmNKXyQ9tatvBQ1u+LQEsbAIDq6uqU9CnTXYbRBa4P3ngsXop2RvcVOITNO8UZY1mz88lqzqxrF5QK9HBiUwY4OY13WhDYj63ZijRtysByanrod6JVF2QmpR6wLV8N0w0Mts+E8z2zblvvzF9sK28oYA522VELS5pB0DiOZxmX7uGFRXQ3fK63fSXU+XzjPC4NVKGWQamSwHmU9g3ZMYWFeT7hp4zkZ1q3C+RVtAtrGjBmvKBNyCFM85XAmG/DG3QILy4UpnLDTNZj85E4alBn5+WvP077k4ek1k+ZzX/RI7dDWoaxDjx49TsheYeSAM6nfgbBsXDhfDVM/UtNDnIlpzuYlqw8zIS5vzG/7pJFlO+V2bHNElJLP3yQ/7sb8Y+z2RY3oBtKAN+07Q9Za9Lfzqu6omi7rsenzN0fR8fDc8OlLwdfvh/yqP5GMREEmRfmOAAAAAElFTkSuQmCC'); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/2404dead022fa87ddde117df3959b08a/82e29/stripe-connect-activate.webp 159w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/ef33f/stripe-connect-activate.webp 318w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/f1837/stripe-connect-activate.webp 635w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/29549/stripe-connect-activate.webp 953w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/c5420/stripe-connect-activate.webp 1270w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/d650b/stripe-connect-activate.webp 1958w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/2404dead022fa87ddde117df3959b08a/8b9b5/stripe-connect-activate.png 159w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/fa108/stripe-connect-activate.png 318w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/53fb6/stripe-connect-activate.png 635w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/5a426/stripe-connect-activate.png 953w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/91155/stripe-connect-activate.png 1270w","/docs/legacy/static/2404dead022fa87ddde117df3959b08a/1d7e2/stripe-connect-activate.png 1958w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/2404dead022fa87ddde117df3959b08a/53fb6/stripe-connect-activate.png","alt":"Activate Stripe Connect","title":"Activate Stripe Connect","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Now when you click the gear icon on the top bar to go to "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Settings"}]},{"type":"text","value":"\nat "},{"type":"element","tagName":"a","properties":{"href":"https://dashboard.stripe.com/settings","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"https://dashboard.stripe.com/settings"}]},{"type":"text","value":", you will see a new\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Connect"}]},{"type":"text","value":" section. Click "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Settings"}]},{"type":"text","value":" in that section."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/d9b40/stripe-connect-settings.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 40.880503144654085%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAABYlAAAWJQFJUiTwAAABK0lEQVQoz42Q3W6sMBCDef/3610vu8sCYQmQ38mEryKcbqWeizaSE8dSHHs65yO7C4SY8SE17sKlbbvH+4iUgmqlNChStPFcKnYNzNPMsx9wLtBZuzJNM30/4n3gOA5qPVH/8ev8uY6jghaQDKovvRuMZZwMi10RKU1cnCGl1O6qStKKWR0iQs4ZTYnsPff7wP1huD0m1j201N28ZPoh4uPXLwejcYwm4H1uhpKF8WPEz0/yvqOltNr9tDI9LWbZ2H1oWlekIlJbzavagd0Ky1peNc7aJRVUvrUzjU+FnJQYlXkvV8KncW12MSayyMv0xMm/8D2749xQPXiLA3ezcRsSNxsRORPq/w9+w5VQkW3G+AcfrufdJNJp+FeTn4ZaKzlYQo6ELKR8Vf4EdABxfXdRLN4AAAAASUVORK5CYII='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/82e29/stripe-connect-settings.webp 159w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/ef33f/stripe-connect-settings.webp 318w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/f1837/stripe-connect-settings.webp 635w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/29549/stripe-connect-settings.webp 953w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/c5420/stripe-connect-settings.webp 1270w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/f9fd7/stripe-connect-settings.webp 2799w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/8b9b5/stripe-connect-settings.png 159w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/fa108/stripe-connect-settings.png 318w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/53fb6/stripe-connect-settings.png 635w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/5a426/stripe-connect-settings.png 953w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/91155/stripe-connect-settings.png 1270w","/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/d9b40/stripe-connect-settings.png 2799w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/11848ca0fae457f28c0d1fe3ee78e847/53fb6/stripe-connect-settings.png","alt":"Connect settings","title":"Connect settings","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Make sure that "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Custom"}]},{"type":"text","value":" is enabled in the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Account types"}]},{"type":"text","value":" section"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/b6718/stripe-custom-enabled.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 55.9748427672956%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAABYlAAAWJQFJUiTwAAABPElEQVQoz5WSC2+EIBCE/f//sU163oOCgjyEBYVp4O7aa7WXdpMvmI3Ojjt0FCN8qCygWIkIgUAUESi2886aM0opyE/opFQQw4QzUzhfRpSS8ayq4DO64/GCl9c3cC7AGMeyLP8S2AhKNUGI8ZtIzgWB0kb8L4O6lBZU2m5uO6qlJothlNDGQusv1KRh7fyraPdzItoJOOcxew+KqQXiQ4D3AW6u/fA5fCO416wlhMI745CDxDCqm0MDImpUwT2XW4f1ec2QTGDiArOUsErBa41gDDIFlEjIRCg7LrsaQH5s1lDSAjuOcFXEOZBzCNYiGItZ68biZ5R13Qpa69pF/p4g2i9yocAGB/Ieoe4zhEaieH1pp7qUEmKMD9QdJTA+4nA4ou9POPQn9MczLoy3lOtV08bAmOteq6H79x8MKl1vnQoT0QAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/82e29/stripe-custom-enabled.webp 159w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/ef33f/stripe-custom-enabled.webp 318w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/f1837/stripe-custom-enabled.webp 635w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/29549/stripe-custom-enabled.webp 953w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/c5420/stripe-custom-enabled.webp 1270w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/d3d07/stripe-custom-enabled.webp 2309w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/8b9b5/stripe-custom-enabled.png 159w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/fa108/stripe-custom-enabled.png 318w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/53fb6/stripe-custom-enabled.png 635w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/5a426/stripe-custom-enabled.png 953w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/91155/stripe-custom-enabled.png 1270w","/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/b6718/stripe-custom-enabled.png 2309w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/38881daddafb9febf0a5ab63dba90a05/53fb6/stripe-custom-enabled.png","alt":"Custom enabled","title":"Custom enabled","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Great! You now have to get your API keys and input them into your\nmarketplace."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"3-get-your-api-keys-from-stripe-and-add-them-to-your-sharetribe-marketplace","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#3-get-your-api-keys-from-stripe-and-add-them-to-your-sharetribe-marketplace","ariaLabel":"3 get your api keys from stripe and add them to your sharetribe marketplace 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":"3. Get your API keys from Stripe and add them to your Sharetribe marketplace"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Click the "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Developers"}]},{"type":"text","value":" top menu item and go to "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Developers"}]},{"type":"text","value":" → "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"API\nKeys"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"In the section "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"\"Standard keys\""}]},{"type":"text","value":" you will see two keys:\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Publishable key"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Secret key"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The publishable key (with prefix "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"pk"}]},{"type":"text","value":") is one used in frontend\napplication (e.g. Flex Template for Web) and secret key (with prefix\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"sk"}]},{"type":"text","value":") is the one you need to add to Console. If you want to use test\ndata make sure the value of the key is eg. "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"pk_test"}]},{"type":"text","value":"<somethinghere>\nand not "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"pk_live"}]},{"type":"text","value":"<somethinghere>"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Note:"}]},{"type":"text","value":" If you want to use test data in development make sure that\n"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"\"Viewing test data\""}]},{"type":"text","value":" toggle is on. This way no real money will be\nused. In production make sure that the toggle is off."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/4dd40/stripe-api-keys.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 31.446540880503143%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAABYlAAAWJQFJUiTwAAABAElEQVQY002RWW7DMAxEff87Fv1oi8Rx4k07SekVstOkBEYkJHJmQA05Jdy+I1Lo9Xgd8c5hKkjOJ+YRW65UFWqKb+TEY9z4/FhILmBSGJxPLPMGraI5M/5c2OcZiYHs/XHXVKkiVFVaay+YNbQIdV9J84rFwOBDZt88mKIiLMvGPK/EmIgpU0SpDRpPtH6+M2ZYcNQUqCUzqCpmdryJKuPtfpCWIqSYyCFSkp7uulMzRE6ntVZE7S0GDPyLTux9eAnEbWX8+ma6XHmMN5ZpIrudnPKzv1JKeTnuAsPfPnqoGc6FQ9VqpeTMOi9MtzvRh/ODSjncd7Le11fS6z7b8y/sF9SmbFdwkgAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/82e29/stripe-api-keys.webp 159w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/ef33f/stripe-api-keys.webp 318w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/f1837/stripe-api-keys.webp 635w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/29549/stripe-api-keys.webp 953w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/c5420/stripe-api-keys.webp 1270w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/56556/stripe-api-keys.webp 2823w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/8b9b5/stripe-api-keys.png 159w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/fa108/stripe-api-keys.png 318w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/53fb6/stripe-api-keys.png 635w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/5a426/stripe-api-keys.png 953w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/91155/stripe-api-keys.png 1270w","/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/4dd40/stripe-api-keys.png 2823w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/93855f6bcd4c4ee2638e16bc56f6aed8/53fb6/stripe-api-keys.png","alt":"Get API keys from Stripe","title":"Get API keys from Stripe","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"4-add-your-stripe-secret-api-key-to-console","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#4-add-your-stripe-secret-api-key-to-console","ariaLabel":"4 add your stripe secret api key to console 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":"4. Add your Stripe secret API key to Console"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Log in to Console and go to "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Build"}]},{"type":"text","value":" → "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Payments"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"In the section "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Stripe configuration"}]},{"type":"text","value":" paste your secret key to \"Stripe\nsecret key\" field and save the changes."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/38ad8/add-stripe-to-console.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 55.9748427672956%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAABPUlEQVQoz6WSW0tCQRDH9+NFN8qe7EZWIAf1qT6GKb1oF8jM3uqpPkqBEULPBanHdW/nzNl/7IoWZmk08GNmdnf+zOwuQ9hG5+0VfSHgrNvjMCZCGIaw1mKajZ9hi5tZrGZyWPA+j5WdnGcuvY90cID14BDL2wFSmTxSuwWs7RWwtBVgfiM7EVas1lA+raN8doVjx3nD56WTSzRu7nB9e+/jAXW/d1StoVi5QLFS+wYbtko0fbxZjEmp0Q05Hp9aeGi20Hx+QY8LCKk/EWpmmNYRkiT5essgIhAlM+PqXY3TYlobvyClglQKSinEMf15VPfaTmvUoRAcot9DHGnAEmwST4B8ofspA29H32ZMkCB5G5K/Q/Xb0KLjcfEwd54M91dif2Ak6JIoikGJ/WWk6WN7QaWMD4z5H07DaX0AKZUlmjgv7nwAAAAASUVORK5CYII='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/82e29/add-stripe-to-console.webp 159w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/ef33f/add-stripe-to-console.webp 318w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/f1837/add-stripe-to-console.webp 635w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/29549/add-stripe-to-console.webp 953w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/c5420/add-stripe-to-console.webp 1270w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/207a9/add-stripe-to-console.webp 2008w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/8b9b5/add-stripe-to-console.png 159w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/fa108/add-stripe-to-console.png 318w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/53fb6/add-stripe-to-console.png 635w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/5a426/add-stripe-to-console.png 953w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/91155/add-stripe-to-console.png 1270w","/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/38ad8/add-stripe-to-console.png 2008w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/7cd2bb664c3cd00e61a791d94b57f2a3/53fb6/add-stripe-to-console.png","alt":"Add Stripe secret key to Console","title":"Add Stripe secret key to Console","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Note"}]},{"type":"text","value":": The secret key and publishable key need to match with each\nother. You can't use a publishable key from a different Stripe account\nthan the secret key - or mix test keys and live keys."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"mapbox-access-token","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#mapbox-access-token","ariaLabel":"mapbox access token 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":"Mapbox Access Token"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://account.mapbox.com/auth/signup/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Sign up to Mapbox"}]},{"type":"text","value":" and go to\nthe "},{"type":"element","tagName":"a","properties":{"href":"https://account.mapbox.com/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"account page"}]},{"type":"text","value":". Then copy the "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"\"Default\npublic token\""}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/fe1d8/mapbox-access-token.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 37.106918238993714%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAAAsTAAALEwEAmpwYAAABEElEQVQoz4WRy07DMBBF+/87xDcgvgDEuuIT2CEkqpZAcGKnzcPj50Fxk4oFqCMdz2Z0fefORnwgpcxc5xdiTIQQ/8WHSEpxnryQc8S6wCbEhHMO3R0x3YlWd6SUuFb6CLf3mZu7czcniGkRHCfL/uOLqlYcqppTP5RPJitYyTifSxcJTHZ2D43JPG4dD1vL07NjmCDERVDEFWfanF2qxtB2gtJCayK6G6mbHtUeGW1EHPgw+/SAXTrIurL3gX6YGMYJce7KsvkX4Dx0PcwpOX/J0LPbV+wOFZ+1omkNaqHRhpdXT600b+97vpUuEc2xxBiL7HpUKYLlYqm468cJKw4fQnG9Ii6WPGdyzn+yCv4AKbcfTX1T7T4AAAAASUVORK5CYII='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/82e29/mapbox-access-token.webp 159w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/ef33f/mapbox-access-token.webp 318w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/f1837/mapbox-access-token.webp 635w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/93a47/mapbox-access-token.webp 933w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/8b9b5/mapbox-access-token.png 159w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/fa108/mapbox-access-token.png 318w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/53fb6/mapbox-access-token.png 635w","/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/fe1d8/mapbox-access-token.png 933w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/5ba651e00d53a67b456b45e1191d0803/53fb6/mapbox-access-token.png","alt":"Mapbox Account Page: copy access token","title":"Mapbox Account Page: copy access token","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"If you wish to create a new one, click "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"\"+ Create a token\""}]},{"type":"text","value":" button, give\nit a name and make sure all Public scopes are selected. Create the token\nand copy its value."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"You can make access tokens in your web applications more secure by\nadding URL restrictions. When you add a URL restriction to a token, that\ntoken will only work for requests that originate from the URLs you\nspecify. See the Mapbox documentation for\n"},{"type":"element","tagName":"a","properties":{"href":"https://docs.mapbox.com/help/account/tokens/#domain-restrictions","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"domain restrictions"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"add-environment-variables","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#add-environment-variables","ariaLabel":"add environment variables 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":"Add Environment Variables"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Start the config script:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" run config"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"This command will prompt you to enter the three required environment\nvariables that you you collected in the previous step."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"After that, it will create "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file to your local repository and\nguide you through setting up the rest of the required environment\nvariables. If the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file doesn't exist the application won't start.\n"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"This "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file is only created for the local development\nenvironment"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"See the "},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/ftw/ftw-env/"},"children":[{"type":"text","value":"FTW Environment configuration variables"}]},{"type":"text","value":" for\nmore information on the environment variables."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"start-the-server","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#start-the-server","ariaLabel":"start the server 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":"Start the server"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Start the development server:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" run dev"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"This will automatically open "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"http://localhost:3000"}]},{"type":"text","value":" in a browser:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/0d447/saunatime-default.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 86.79245283018868%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAARCAYAAADdRIy+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVQ4y42U60+TdxTHf9Jyk0uRIu0sBUZLoQU7roIIOLIqKoqiCwte1sklEOJljuluWeZcpsY3S5aImAgKymRsmGwvdH/GlmXxUuj9+mufpxc64vOU/r4LNds7k53kk+/3nBcn3zfnkGCQiuFIGKEgx/wBimhsFVw4Al8gCD8NwRd4DTQEP+XgD3Lw+Sjzu70IBHlGkvG4+HcshkgoxBKCCCQZGGP4XyUKQHIdiUQCCUFg68kkSJQLiZZnT+FcsTDqcYF6nAi4Ha/U44LH6YDP5YDf5YTf5YDbYf9v5rGtwGu3wuOwMZfditVohJEnjxbEd3TFONpQzgaay/F+mxYberypHAdqVDhSX4bBDl2KEy0aHNquRm+tCgcNb8CkU8JUpYRJr0JnaR4eL8yC/PrwnlgvJ9hfq2C9DWp0lOdjr06Og8atGOyuhtlUhZbSXNTKpTBskUIvS8Nb8nS0qfOwQ5GJugKCmnyCSgnB0swkyM8P7oolUoKepmp25cIITh7rxbWPzZi6dh5XLw7hrLkfezvasS1bgha1DOpsCTRb89HTpkeXUY0GRRYaijJQnUWwdG8K5Ke5GbEql+B4WwW78eFxmI8ewFdjx3D1ghkj7/bg5OF9ONK+Hef6GjDcXoKBFhVMhiIYFNnQFGSgvjANjUVS6LMIfpyeAnk4OyMWSwjq1FvYvmYDdtfp0VFbCZNRi1aDFu01FRjv24nrZ3pw9WwvPjLvQbO2GFXyDFTKs3CqrQymN3OhyyD44c4UyP2ZaVFCCDZLJSw9XYoMySbkpG+CPDcTalkWjMocXBzYhcvmdlzqb8HEQCdO7K1Hd7MWpkYtJo414XxXGXSZBPN3boHM350R0wiBMS+HfWcox/eNekw26TFprEBLfgZ26Qrx6cAOnDtYg+GOcgztLMH42xqMdlbgdGsJ+mvl2K/Nh+bfhLPTd0RCCMoy09mgqggjGjVGNSqMlsjRJJPivV1qnOmuxEhnKU41KTCwvRD91Xk4XJEFk0qC3YpN2Lk1DSWE4OFGwoX7c2JxthRlRTKmLMyFsmAzlAU52FawGSa9Ap/01WHikBHje6ox1KHBYGspTtQr0WcoxIFKGbo1MnRVbIGhIA1Lc9MgYZ4XLS+ew7psYbZlC7z2FfgcK3Bbl+FzWhH02FJQlxUBpxVemwUOyzPYXjxN6Sv/DJanfyHCcyDr6+ui3W6H0+lkNBiE2+OFx+uD1+eDze6Aw+VGIBhKeavdgWCIe+1pb7wAkkgkBEopo5QmeZ5nPMexcDicUo7jWCQSZvH4KluNxRgXCrFoNMpEQWCiKDJBEFgymUyx0SdEkW0sxMuXLyEIAtbW1hCORFJ+g8jqGigfRSgcQzgWRygax3PLMhYXFzA2Nownvz3Go6VFzD+Yw43r1xDmeRAxkfDGYrFgbDVGXS43/f2PPynP8zQej9PJmzfpl59/Qadu3aZfX75Mv73yDf1laZFO3Z6kDXUG+tmlC/TSxHk6MvQBHRk6TXmOo/8AOJp2Bu1GqgQAAAAASUVORK5CYII='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/82e29/saunatime-default.webp 159w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/ef33f/saunatime-default.webp 318w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/f1837/saunatime-default.webp 635w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/29549/saunatime-default.webp 953w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/fcde4/saunatime-default.webp 1161w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/8b9b5/saunatime-default.png 159w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/fa108/saunatime-default.png 318w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/53fb6/saunatime-default.png 635w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/5a426/saunatime-default.png 953w","/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/0d447/saunatime-default.png 1161w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/93d1ea5d651afe2ed827468880c11fc6/53fb6/saunatime-default.png","alt":"Default marketplace screenshot","title":"Default marketplace screenshot","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Note:"}]},{"type":"text","value":" As you browse your marketplace and create listings, you may\nnotice that the search filters do not work. You can activate the\nfilters by creating a\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/how-to/manage-search-schemas-with-flex-cli/#adding-schemas"},"children":[{"type":"text","value":"search schema"}]},{"type":"text","value":"\nthat corresponds to your FTW template."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"summary","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#summary","ariaLabel":"summary 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":"Summary"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In this tutorial, we used the FTW-daily template to get a marketplace\nrunning. Here's a summary of those installation steps:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"git"}]},{"type":"text","value":" clone https://github.com/sharetribe/ftw-daily.git\n"},{"type":"element","tagName":"span","properties":{"className":["token","builtin","class-name"]},"children":[{"type":"text","value":"cd"}]},{"type":"text","value":" ftw-daily/\n"},{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" "},{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"install"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" run config\n"},{"type":"element","tagName":"span","properties":{"className":["token","function"]},"children":[{"type":"text","value":"yarn"}]},{"type":"text","value":" run dev"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"As you can see from "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"http://localhost:3000"}]},{"type":"text","value":", FTW is a fully ready and\npolished marketplace application that is running on top of the\nMarketplace API. Client app customization is in your control, and you\ncan change it to fit your marketplace needs. Check the\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/tutorial/"},"children":[{"type":"text","value":"tutorial"}]},{"type":"text","value":" to learn how to customize FTW template."}]}],"data":{"quirksMode":false}},"headings":[{"value":"Setup a development environment","depth":2},{"value":"Prerequisities","depth":3},{"value":"Install the FTW-daily App locally","depth":3},{"value":"Mandatory Integrations","depth":2},{"value":"Sharetribe Flex client ID and client secret","depth":3},{"value":"Stripe keys","depth":3},{"value":"1. Create and confirm your free Stripe account","depth":4},{"value":"2. Enable Stripe Connect in your platform","depth":4},{"value":"3. Get your API keys from Stripe and add them to your Sharetribe marketplace","depth":4},{"value":"4. Add your Stripe secret API key to Console","depth":4},{"value":"Mapbox Access Token","depth":3},{"value":"Add Environment Variables","depth":2},{"value":"Start the server","depth":2},{"value":"Summary","depth":2}]}},"pageContext":{"slug":"getting-started-with-ftw-daily","category":"introduction-getting-started"}},
    "staticQueryHashes": ["3794076007","439097193","717698143"]}