# Scaling in the cloud

**URL:** <https://community.particle.io/t/scaling-in-the-cloud/48639>\
**Category:** General\
**Tags:** photon\
**Created:** [March 23, 2019, 2:02pm UTC](https://community.particle.io/t/scaling-in-the-cloud/48639 "2019-03-23T14:02:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [March 23, 2019, 4:05pm UTC](https://community.particle.io/t/scaling-in-the-cloud/48639/3 "2019-03-23T16:05:46Z")

</div>

> [@jrjack](#):
>
> right now my AWS Lambda is associated with one unit of particle photon via the device id and the access token.

You would setup a OAuth link between your Alexa account and the Particle cloud.  
There is a (slightly dated) thread that illustrates that

> [@OAuth2 Authorization Code Flow](https://community.particle.io/t/oauth2-authorization-code-flow/22215):
>
> Could someone help me to figure out the endpoints for Authorization Code Flow. What I want is following endpoints: Authorization URL Client ID Redirect URL Authorization Grant Type: Authorization Code Grant Access Token URI Client Secret Client Authentication Scheme What I was trying to do is create a Alexa Smart Home Skill work which works with Particle Photon. For this Amazon Alexa Skill Kit needs OAuth2 server which supports Authorization Code Flow. The project is complete and is work…

Things have slightly changed on the Amazon and the Particle side but not too long ago I went through that process again and made it work for my devices. So it works but might need some tweaking here or there.

---

_[View the full topic](https://community.particle.io/t/scaling-in-the-cloud/48639)._
