> For the complete documentation index, see [llms.txt](https://mikkicoding.mikkipastel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mikkicoding.mikkipastel.com/discord-bot-hands-on/create-your-first-discord-bot/create-discord-bot-account.md).

# Create Discord Bot Account

ก่อนอื่นสร้าง account ของ Discord bot ของเรากันก่อน ไปที่ [Discord Developer Portal](https://discord.com/developers/applications) เลือก *New Application*

<figure><img src="/files/rYfrcEM6Qwa22yvMW8nC" alt=""><figcaption></figcaption></figure>

ใส่ชื่อ application และกดยอมรับ Developer Terms of Service และ Developer Policy

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUdx2lCyoxYQprqiNDU4YpOtVYWPTPLTRUXIjy845tZ5wHUeTir3CJN-ELiwOsdml5F1OP4O2AG1SiAjNYg_sx_uYbbpGCaJJxFwrnLLZAY_t8actR5Avj4bTPU1T1UKy7jvRiJzhg=s2048?key=zouhIV8Fq_fCPxgqccmT5w" alt=""><figcaption></figcaption></figure>

เมื่อสร้าง application เสร็จแล้วจะเข้ามาหน้านี้

จากนั้นใส่รายละเอียดต่างๆของน้องบอทให้เรียบร้อย หน้านี้จะมี Application ID (ตัวนี้จะถูกใช้ต่อไป) และ Public Key ของแอพนี้นะ

<figure><img src="/files/fpgsWXyRXIyeKvM79Pi5" alt=""><figcaption></figcaption></figure>

เมื่อเราสร้างแอพเรียบร้อยแล้ว มาสร้างบอทกันต่อ โดยกดที่แท็บ Bot เราจะเห็นรายละเอียดของ bot ที่เราเพิ่งสร้างไป

ไป check public bot ว่าเปิดอยู่ไหม โดย default แล้ว บอทจะเป็น public bot ใคร ๆ ก็สามารถพาน้องบอทมาที่ server ตัวเองได้

<figure><img src="/files/IhiFIkkFzBU0iT4yRHTp" alt=""><figcaption></figcaption></figure>
