A QR code can save someone from typing a long web address off a flyer. The important part is keeping it readable after you place it in the design, resize it, and print it. A clean preview is a starting point; the finished flyer needs its own scan check.
I run 67toolz, and its QR Code Generator turns a website address into a downloadable image. This walkthrough uses the public English 67toolz homepage as a harmless sample, with no center logo, before exporting a larger PNG for a layout.

Settle the destination before making the artwork
For an event flyer, start with the final registration page rather than a temporary editing link. Open that destination yourself and check what a visitor will see. A QR image can encode a mistyped address just as neatly as the right one.
Select URL Link in the generator and paste the complete address into Website URL Address. The preview updates as you edit. Leave the optional center logo set to None for your first version, so the basic code is easy to inspect.
Keep a copy of the exact address beside the flyer file. If the event page changes later, return to that reference and create a replacement QR image. Treat the image as a snapshot of the value you entered, rather than assuming it can redirect itself to a different page.
Export first, then test the final size
Choose 1000 x 1000 px under Resolution (Size), then select Download PNG. The example export is a 1000-pixel-square PNG. WebP is another available download option; PNG is a straightforward choice when your layout app accepts it.
Place the image in the flyer without stretching it into a rectangle. Preserve the clear border around the dark squares. That empty area helps a scanner distinguish the code from nearby artwork, so avoid trimming it away to make the design feel tighter.
Click the screenshot below to open the QR Code Generator.

Scan the finished design from another device, and compare the decoded address with your saved source. If you plan to print it, check one copy at the actual size before producing the full batch. Glare, dense codes, and shrinking the image can make a readable preview harder to scan in practice.
Try the simple no-logo version first, then build the flyer around it. Keep a short, readable destination label beside the code so people know what opening it will do.