{"__v":0,"_id":"579fdb420c933e0e00249b59","category":{"__v":1,"_id":"56cedc8ce50c9c1b00830423","pages":["56d763c2693ef41d0003abec"],"project":"552829408962f339009a678d","version":"552829408962f339009a6790","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-25T10:50:52.142Z","from_sync":false,"order":8,"slug":"server-configuration","title":"Server Configuration"},"parentDoc":null,"project":"552829408962f339009a678d","user":"55282916d9e1db2d00cd923c","version":{"__v":26,"_id":"552829408962f339009a6790","project":"552829408962f339009a678d","createdAt":"2015-04-10T19:49:20.516Z","releaseDate":"2015-04-10T19:49:20.516Z","categories":["552829418962f339009a6791","55284ed68962f339009a67e1","55286c73391a362500d9b3f4","552918f6b316811900149f59","5529b255d739240d00a3483e","553287590a578a0d008d4ff5","55329385e7d1fa0d003fc946","5550b55200420e0d00d1312f","55525fca953c9c0d00f507d7","559199695631432f002d358a","559d8d96980b801700d5ec7e","55c5e833cccdeb2d004e24b9","55d76504f662951900fc0e7d","55ea213cc62aa02f008229cd","56157b750f5ed00d00483dd8","561981fbac0924170069f4e8","561b8b1ea430930d0037ea67","563417428b86331700b488ca","56cd785bface161300dae0ec","56cdcc6e70db8a15006395f4","56cdf1b749abf10b0036a34a","56cedc8ce50c9c1b00830423","56e97ba8d825061900d1ac83","570d505228e6900e00477229","573614ca2ab52e1700c8e851","57d556a2496a3117004d70cf"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-08-01T23:29:06.344Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"Actor uses SMS activation by default. Users sign up by phone number, and receive SMS with one-time activation passcode.\nActor Team kindly provides free SMS Activation gate. You can use it in your own Actor Server installation to send activation codes. This service is provided for **free** for some amount of SMS, beyond that amount, we will contact you and start to charge money with standard SMS pricing.\nYou should open direct chat with **:::at:::gatekeeper** bot to get SMS gate token in [Actor Cloud](https://app.actor.im).\n\n* [Get SMS token](#get-sms-token)\n* [Configure token on server](#configure-token-on-server)\n[block:api-header]\n{\n \"type\": \"basic\",\n \"title\": \"Get SMS token\"\n}\n[/block]\n## 1. Add Gate Keeper to your contacts\n\nOpen [Actor Cloud](https://app.actor.im) and add **@gatekeeper** to your contacts.\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/d865063-1.png\",\n \"1.png\",\n 1392,\n 885,\n \"#e1e4e3\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/36b2b85-2.png\",\n \"2.png\",\n 1392,\n 885,\n \"#606161\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n## 2. Begin conversation\n\nPress **START** button to start conversation\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/4ed0ba5-3.png\",\n \"3.png\",\n 1392,\n 885,\n \"#4a6280\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n## 3. Request new token\n\nSend **/newtoken** command to bot, to create token.\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/05dbc1e-4.png\",\n \"4.png\",\n 1392,\n 885,\n \"#516885\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n## 4. Send activation template\n\nGate Keeper will suggest you to send activation template and give you example of valid template. In this example our template will be **Your Repeater Messenger activation code: $$CODE$$**\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/46dde5c-5.png\",\n \"5.png\",\n 1392,\n 885,\n \"#526985\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n## 5. Get your token!\n\nAs soon as you send activation template, **@gatekeeper** will respond with activation token you can use. You will need to put it in your server.conf.\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/05d75a0-6.png\",\n \"6.png\",\n 1392,\n 885,\n \"#526985\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n### Don't forget your tokens\n\nYou can remind tokens you got by sending **/list** command to Gate Keeper - they will be always there.\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/dfd2efd-7.png\",\n \"7.png\",\n 1392,\n 885,\n \"#526985\"\n ],\n \"sizing\": \"full\"\n }\n ]\n}\n[/block]\n\n[block:api-header]\n{\n \"type\": \"basic\",\n \"title\": \"Configure token on server\"\n}\n[/block]\nAdd following section to your `server.conf`:\n\n```\nservices {\n actor-activation {\n auth-token: \"<your activation code goes here>\"\n }\n}\n```\n\nWe're done here, check that your receive activation SMS on sign up/in","excerpt":"Configure your own activation SMS template","slug":"sms-gate-token","type":"basic","title":"Activation gate token"}Activation gate token
Configure your own activation SMS template