# How do I connect a React front-end with a Canister

**URL:** <https://forum.dfinity.org/t/how-do-i-connect-a-react-front-end-with-a-canister/2301>\
**Category:** Developers\
**Created:** [March 26, 2021, 3:26pm UTC](https://forum.dfinity.org/t/how-do-i-connect-a-react-front-end-with-a-canister/2301 "2021-03-26T15:26:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThanasisNta](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/thanasisnta/32/707_2.png) [@ThanasisNta](https://forum.dfinity.org/u/ThanasisNta)\
**Post date:** [March 26, 2021, 3:26pm UTC](https://forum.dfinity.org/t/how-do-i-connect-a-react-front-end-with-a-canister/2301/1 "2021-03-26T15:26:58Z")

</div>

Hi everyone,

I want to create a react front end that will not be hosted directly in a canister. I know that I must use the agent to make the connection but I am really confused and I do not know how to do it. Is there any example that is currently working on version 0.6.26? Is it something that I miss from the documentation that will help me to make this connection?

Thank you.

---

<div class="post-metadata">

**Author:** ![anon74414410](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Post date:** [March 26, 2021, 3:54pm UTC](https://forum.dfinity.org/t/how-do-i-connect-a-react-front-end-with-a-canister/2301/2 "2021-03-26T15:54:11Z")

</div>

Hi Thanasis,

As of this morning, the easiest way to get up and running is with this Create React App template: [GitHub - taylorham/cra-template-dfx: A template for frontend development on DFINITY's Internet Computer](https://github.com/taylorham/cra-template-dfx)

That said, stay tuned for some news today-ish!
