Create a new footprint and draw this as a pin. There are plenty of options for the pin shape in Kicad.
Thanks....I will try doing it.
create a new foot print with one smd pad, shape rectangle with rounded corners
Thank you. I cannot use a rectangle, as you can see, the shape is not closed.
Edit: I tried but I am not able to create a shape like the one in the image. I can only create a rounded rectangle footprint.